更新时间:2023-12-06 17:11:16
添加
(setq inhibit-启动屏幕t)
下次启动Emacs时,欢迎屏幕不应出现。如果您已经通过欢迎屏幕打开Emacs,可以使用 C-x k (Control-x,然后是k)将其删除。
I want to hide the welcome screen.
My .emacs
file:
(setq c-basic-offset 4) ; indents 4 chars
(setq tab-width 4) ; and 4 char wide for TAB
(setq indent-tabs-mode nil) ; And force use of spaces
(turn-on-font-lock) ; same as syntax on in Vim
(setq width (max width (+ (length str) 1))) ;line numbers
(setq inhibit-splash-screen t) ; hide welcome screen
I have tried to run the last line of code in my .emacs unsuccessfully.
How can you hide the welcome screen in Emacs?
Add the following to your $HOME/.emacs
:
(setq inhibit-startup-screen t)
The next time you start Emacs, the welcome screen shouldn't appear. If you already have Emacs open with the welcome screen, you can kill it with C-x k (Control-x, then k).