How do I change the scratch message in Emacs?

后端 未结 3 2035
广开言路
广开言路 2021-01-31 14:56

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 w         


        
相关标签:
3条回答
  • 2021-01-31 15:33

    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."

    0 讨论(0)
  • 2021-01-31 15:33

    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.

    0 讨论(0)
  • 2021-01-31 15:44

    You can customize this variable 'initial-scratch-message to be whatever message you want.

    (setq initial-scratch-message "")
    
    0 讨论(0)
提交回复
热议问题