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?

2
  • 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. Commented Dec 29, 2014 at 16:52
  • @Dan: Yes, I think it's probably something in my .emacs file. Commented Dec 29, 2014 at 16:59

1 Answer 1

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 
1
  • 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. Commented Dec 29, 2014 at 17:00

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.