removed hardcoded scratch comments, now uses initial-scratch-message

This commit is contained in:
a. fox 2024-03-13 14:59:03 -04:00
parent b653259f55
commit 8a55844049
1 changed files with 1 additions and 2 deletions

View File

@ -427,8 +427,7 @@ Custom variables used throughout my custom functions/macros.
(interactive)
(switch-to-buffer (get-buffer-create "*scratch*"))
(when (string-blank-p (buffer-string))
(insert ";; This buffer is for text that is not saved, and for Lisp evaluation.\n")
(insert ";; To create a file, visit it with C-x C-f and enter text in its buffer.\n\n")
(insert initial-scratch-message)
(goto-char (point-max)))
(lisp-interaction-mode))