Automatically closing the scratch buffer

前端 未结 6 2080
-上瘾入骨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:15

    I suspect from your question that you probably start emacs fairly often, perhaps even once for each file you want to edit. (If I'm wrong in this assumption, then the following comments don't apply to you.)

    Emacs is designed to be started and then left running for weeks or months while you visit various files as you need to edit them. Emacs handles multiple files very well, so it's hardly even necessary to kill the associated buffers until you get 50 or 100 of them hanging around. I start emacs just after my window system starts, and it runs until my system shuts down or crashes. The initial scratch buffer is a non-problem in this mode, because I see it so infrequently.

提交回复
热议问题