What I must write in my .emacs
file so that the *scratch*
buffer is closed when I open Emacs?
The proper way is to add inhibit-startup-screen
to the custom-set-variables
section of your .emacs file.
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(inhibit-startup-screen t)
)