Whenever I try to open an existing file with GNU Emacs, the window always split horizontally so as to show two buffers: one buffer containing the file and the GNU Emacs buffer. How can I set up Emacs to not do that and show only the buffer that holds the file's text?
1 Answer
You want the following in your init file:
(setq inhibit-startup-screen t)
or, equivalently, say
M-x customize-variable RET inhibit-startup-screen RET
-
1Shouldn't matter -- I don't get the splitting behavior when using
emacs -q
(same as-Q
, except still has the splash screen) either.– Dan ♦Dec 29, 2014 at 17:00
emacs -Q
: does it still split the frame into two windows? If not, it's something in your init file..emacs
file.