all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs buffer message
@ 2016-12-02 15:29 Matthew Pritchard
  2016-12-02 15:31 ` Alberto Luaces
  2016-12-02 15:54 ` Kaushal Modi
  0 siblings, 2 replies; 3+ messages in thread
From: Matthew Pritchard @ 2016-12-02 15:29 UTC (permalink / raw)
  To: help-gnu-emacs

How do I disable this message so that it does not appear whenever I use emacs?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs buffer message
  2016-12-02 15:29 emacs buffer message Matthew Pritchard
@ 2016-12-02 15:31 ` Alberto Luaces
  2016-12-02 15:54 ` Kaushal Modi
  1 sibling, 0 replies; 3+ messages in thread
From: Alberto Luaces @ 2016-12-02 15:31 UTC (permalink / raw)
  To: help-gnu-emacs

Matthew Pritchard writes:

> How do I disable this message so that it does not appear whenever I use emacs?
>
> ;; 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. 

It is the variable initial-scratch-message.

-- 
Alberto




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: emacs buffer message
  2016-12-02 15:29 emacs buffer message Matthew Pritchard
  2016-12-02 15:31 ` Alberto Luaces
@ 2016-12-02 15:54 ` Kaushal Modi
  1 sibling, 0 replies; 3+ messages in thread
From: Kaushal Modi @ 2016-12-02 15:54 UTC (permalink / raw)
  To: Matthew Pritchard, help-gnu-emacs

On Fri, Dec 2, 2016 at 10:29 AM Matthew Pritchard <wintermute24x7@icloud.com>
wrote:

> How do I disable this message so that it does not appear whenever I use
> emacs?
>
> ;; 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.


From the elisp info manual: (elisp) Startup Summary

-- User Option: initial-scratch-message
     This variable, if non-‘nil’, should be a string, which is treated
     as documentation to be inserted into the ‘*scratch*’ buffer when
     Emacs starts up.  If it is ‘nil’, the ‘*scratch*’ buffer is empty.

By default, the value of the `initial-scratch-message' variable is

";; This buffer is for text that is not saved, and for Lisp evaluation.\n;;
To
create a file, visit it with \\[find-file] and enter text in its
buffer.\n\n"

as seen when you do C-h v initial-scratch-message

So set that variable to nil in your config or using Customize.


-- 

Kaushal Modi


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-02 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02 15:29 emacs buffer message Matthew Pritchard
2016-12-02 15:31 ` Alberto Luaces
2016-12-02 15:54 ` Kaushal Modi

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.