Set markdown-mode for scratch.

This commit is contained in:
tastytea 2019-05-22 16:07:42 +02:00
parent 287d5b6d1b
commit 96f6909291

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
@ -95,7 +95,7 @@
;; 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.
(initial-major-mode 'markdown-mode) ; and select text-mode.
(require-final-newline t) ; Always add newline at end of file.
:config