Set markdown-mode for scratch.
This commit is contained in:
parent
287d5b6d1b
commit
96f6909291
8
init.el
8
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;; Time-stamp: <2019-05-20T11:56:53+00:00>
|
;; Time-stamp: <2019-05-22T14:07:30+00:00>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||||
|
@ -94,9 +94,9 @@
|
||||||
(mouse-wheel-scroll-amount '(1 ((shift) . 1))) ; Scroll 1 line at a time.
|
(mouse-wheel-scroll-amount '(1 ((shift) . 1))) ; Scroll 1 line at a time.
|
||||||
;; Paste text where the cursor is, not where the mouse is.
|
;; Paste text where the cursor is, not where the mouse is.
|
||||||
(mouse-yank-at-point t)
|
(mouse-yank-at-point t)
|
||||||
(initial-scratch-message nil) ; Make scratch buffer empty,
|
(initial-scratch-message nil) ; Make scratch buffer empty,
|
||||||
(initial-major-mode 'text-mode) ; and select text-mode.
|
(initial-major-mode 'markdown-mode) ; and select text-mode.
|
||||||
(require-final-newline t) ; Always add newline at end of file.
|
(require-final-newline t) ; Always add newline at end of file.
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(defalias 'yes-or-no-p 'y-or-n-p) ; Just type y/n instead of yes/no.
|
(defalias 'yes-or-no-p 'y-or-n-p) ; Just type y/n instead of yes/no.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user