Automatically closing the scratch buffer

前端 未结 6 1962
-上瘾入骨i
-上瘾入骨i 2021-02-04 05:32

What I must write in my .emacs file so that the *scratch* buffer is closed when I open Emacs?

6条回答
  •  死守一世寂寞
    2021-02-04 06:08

    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)
    )
    

提交回复
热议问题