Emacs: Set scratch buffer mode to text-mode.
This commit is contained in:
parent
dc367b9bc3
commit
f86ed78b86
|
@ -76,9 +76,6 @@
|
||||||
(my/ruler-set-colors))
|
(my/ruler-set-colors))
|
||||||
(when (fboundp #'my/volatile-highlights-reset-color)
|
(when (fboundp #'my/volatile-highlights-reset-color)
|
||||||
(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)
|
(my/set-default-fonts)
|
||||||
(when (display-graphic-p)
|
(when (display-graphic-p)
|
||||||
(setq my/run-fix-theme nil))))
|
(setq my/run-fix-theme nil))))
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
:demand t
|
:demand t
|
||||||
:custom ((initial-scratch-message nil) ; Make scratch buffer empty,
|
: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
|
:config (progn
|
||||||
(defvar my/skippable-buffers
|
(defvar my/skippable-buffers
|
||||||
'("^\\*" "^magit[:-]" "^Pfuture-Callback")
|
'("^\\*" "^magit[:-]" "^Pfuture-Callback")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user