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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.