9

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?

Charo
  • 865
  • 1
  • 9
  • 11
  • Not sure I'm following, but I'm not getting this behavior out of the box. Try `emacs -Q`: does it still split the frame into two windows? If not, it's something in your init file. – Dan Dec 29 '14 at 16:52
  • @Dan: Yes, I think it's probably something in my `.emacs` file. – Charo Dec 29 '14 at 16:59

1 Answers1

11

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
jch
  • 5,680
  • 22
  • 39
  • 1
    Shouldn'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 '14 at 17:00