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: Sven Joachim
Subject: Re: making Emacs 22 startup like Emacs 21
Date: Sat, 10 Nov 2007 08:56:00 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

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))

Cheers,
       Sven


reply via email to

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