可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
The scratch message always says:
;; This buffer is for notes you don't want to save, and for Lisp evaluation. ;; If you want to create a file, visit that file with C-x C-f, ;; then enter the text in that file's own buffer.
How do I remove this and make the blank scratch message the default?
回答1:
You can customize this variable 'initial-scratch-message
to be whatever message you want.
(setq initial-scratch-message "")
回答2:
For Emacs 23, you can do this:
(setq initial-scratch-message nil)
From the documentation: "Initial message displayed in scratch buffer at startup. If this is nil, no message will be displayed."
回答3:
You can turn off the initial splash screen with
(setq inhibit-startup-message t)
this appears to also remove the initial message in the scratch buffer.