Emacs: Set scratch buffer mode to text-mode.

This commit is contained in:
tastytea 2020-12-30 02:11:44 +01:00
parent dc367b9bc3
commit f86ed78b86
2 changed files with 1 additions and 4 deletions

View File

@ -76,9 +76,6 @@
(my/ruler-set-colors))
(when (fboundp #'my/volatile-highlights-reset-color)
(my/volatile-highlights-reset-color))
(when (fboundp #'markdown-mode)
(set-face-background 'markdown-code-face
(face-background 'hl-line)))
(my/set-default-fonts)
(when (display-graphic-p)
(setq my/run-fix-theme nil))))

View File

@ -16,7 +16,7 @@
:straight (:type built-in)
:demand t
:custom ((initial-scratch-message nil) ; Make scratch buffer empty,
(initial-major-mode 'gfm-mode)) ; and select mode.
(initial-major-mode 'text-mode)) ; and select mode.
:config (progn
(defvar my/skippable-buffers
'("^\\*" "^magit[:-]" "^Pfuture-Callback")