Set markdown-mode for scratch.

This commit is contained in:
tastytea 2019-05-22 16:07:42 +02:00
parent 287d5b6d1b
commit 96f6909291
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
;;; 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:
;; 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.
;; Paste text where the cursor is, not where the mouse is.
(mouse-yank-at-point t)
(initial-scratch-message nil) ; Make scratch buffer empty,
(initial-major-mode 'text-mode) ; and select text-mode.
(require-final-newline t) ; Always add newline at end of file.
(initial-scratch-message nil) ; Make scratch buffer empty,
(initial-major-mode 'markdown-mode) ; and select text-mode.
(require-final-newline t) ; Always add newline at end of file.
:config
(defalias 'yes-or-no-p 'y-or-n-p) ; Just type y/n instead of yes/no.