help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: startup issue


From: Will Parsons
Subject: Re: startup issue
Date: Wed, 08 Dec 2010 15:24:28 -0000
User-agent: slrn/0.9.9p1 (FreeBSD)

Bob Proulx wrote:
> Mitul Saha wrote:
>> When I start emacs with a file, the window is automatically split
>> horizontally into two from the beginning. How do I remove this
>> setting (that is, no initial splitting by default)?
>
> To prevent this I have the following in my .emacs file.
>
> (if (>= emacs-major-version 22)
>     (setq inhibit-startup-screen t))
>
> If someone on the list has a solution that only does that if there are
> files on the command line that would be preferable to me.

I have:

(when (> (length command-line-args) 1)
  (setq inhibit-splash-screen t))

-- 
Will


reply via email to

[Prev in Thread] Current Thread [Next in Thread]