[Emacs] Change the default mode for the scratch buffer to Elisp

This commit is contained in:
Lucien Cartier-Tilet 2020-10-22 19:27:23 +02:00
parent ae94dd23ff
commit e8b206ef94
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -814,10 +814,10 @@
#+END_SRC
Similarly, the below variable sets the default mode for the scratch buffer.
Its default value is ~text-mode~, but I also set it to use ~org-mode~ by
Its default value is ~text-mode~, but I set it to use ~emacs-lisp-mode~ by
default.
#+BEGIN_SRC emacs-lisp
(setq-default dotspacemacs-scratch-mode 'org-mode)
(setq-default dotspacemacs-scratch-mode 'emacs-lisp-mode)
#+END_SRC
By the way, it is possible to set a default message for the scratch buffer,