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: David Kastrup
Subject: Re: making Emacs 22 startup like Emacs 21
Date: Mon, 26 Nov 2007 19:34:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

David Brodbeck <brodbd@u.washington.edu> writes:

> On Nov 21, 2007, at 11:14 PM, Kevin Rodgers wrote:
>
>> Johan Bockgård wrote:
>>> Better test whether there are any file visiting buffers
>>>     (delq nil (mapcar 'buffer-file-name (buffer-list)))
>>
>> Indeed, I was looking at an old version of my ~/.emacs.  Here's
>> what I have now:
>>
>>      (catch 'inhibit-splash-screen
>>        (dolist (buffer (buffer-list) nil)
>>          (when (buffer-file-name buffer)
>>            (throw 'inhibit-splash-screen t))))
>
> Hmm, when I paste this into my .emacs I still get the splash screen,
> even if I supply a filename on the command line.  I must be doing
> something wrong.

The above sequence only replaces the single line quoted above from the
previous recipe.  The other parts of the recipe must stay around as
well.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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