From f86ed78b865e8fcbf3f9e122f257f696af22f2c4 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 30 Dec 2020 02:11:44 +0100 Subject: [PATCH] Emacs: Set scratch buffer mode to text-mode. --- init.d/basics/appearance.el | 3 --- init.d/basics/buffers.el | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/init.d/basics/appearance.el b/init.d/basics/appearance.el index ddfdceb..5cdc4b8 100644 --- a/init.d/basics/appearance.el +++ b/init.d/basics/appearance.el @@ -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)))) diff --git a/init.d/basics/buffers.el b/init.d/basics/buffers.el index e98e359..4d70c1e 100644 --- a/init.d/basics/buffers.el +++ b/init.d/basics/buffers.el @@ -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")