Reputation: 37812
Every time I start Emacs I see a page of help text and a bunch of messages suggesting that I try the tutorial. How do I stop this from happening?
Upvotes: 26
Views: 7987
Reputation:
Add the below to your init file
(setq inhibit-startup-message t
inhibit-startup-echo-area-message t)
Upvotes: 0
Reputation: 11
If your init file is byte-compiled, use the following form instead:
(eval '(setq inhibit-startup-echo-area-message "YOUR-USER-NAME"))
Upvotes: 1
Reputation: 3500
You can customize message in minibuffer therefore remove fanfare:
;; Hide advertisement from minibuffer
(defun display-startup-echo-area-message ()
(message ""))
Upvotes: 4
Reputation: 882286
Emacs has a couple of variables which inhibit these actions. If you edit your emacs control file (.emacs) and insert the following:
;; inhibit-startup-echo-area-message MUST be set to a hardcoded
;; string of your login name
(setq inhibit-startup-echo-area-message "USERNAME")
(setq inhibit-startup-message t)
that should solve your problem. They basically set the inhibit parameters to true to prevent the behavior you want to get rid of.
Upvotes: 22
Reputation: 18008
Put the following in your personal init file (ususally ~/.emacs.el
):
(setq inhibit-startup-message t)
(Or (setq inhibit-startup-screen t)
in with older Emacs versions.)
You can also turn off the message "For information about GNU Emacs and the GNU system, type C-h C-a." in the echo with the variable inhibit-startup-echo-area-message
, but it is not enough to set it to t
; you must set it to your username. See the documentation for inhibit-startup-echo-area-message
.
Upvotes: 2
Reputation: 37812
Put the following in your .emacs
:
(setq inhibit-startup-message t) (setq inhibit-startup-echo-area-message t)
Upvotes: 10