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

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

Re: making Emacs 22 startup like Emacs 21


From: Will Parsons
Subject: Re: making Emacs 22 startup like Emacs 21
Date: 10 Nov 2007 19:19:42 GMT
User-agent: slrn/0.9.8.1 (FreeBSD)

Sven Joachim wrote:
> Will Parsons <oudeis@nodomain.invalid> writes:
>
>> I find the new Emacs 22 startup behaviour quite annoying in that it puts
>> up a splash screen even when Emacs is invoked with a file name.  I've
>> found the inhibit-splash-screen variable to inhibit the splash screen
>> entirely, but I'd like to keep the splash screen if Emacs is invoked
>> without arguments - just inhibit it if a file is specified.  Is there
>> any way to get this to work like Emacs 21?
>
> I've just put these 2¢ into my .emacs, which seem to do the trick:
>
> (when (> (length command-line-args) 1)
>   (setq inhibit-splash-screen t))
>
Thanks, that works for me.

- Will


reply via email to

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