Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the scratch message in Emacs?

Tags:

emacs

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?

like image 615
unj2 Avatar asked Sep 30 '09 13:09

unj2


People also ask

What is scratch buffer Emacs?

At startup, the *scratch* buffer contains a short message, in the form of a Lisp comment, that explains what it is for. This message is controlled by the variable initial-scratch-message , which should be either a documentation string, or nil (which means to suppress the message).


1 Answers

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

(setq initial-scratch-message "") 
like image 164
Trey Jackson Avatar answered Sep 28 '22 01:09

Trey Jackson