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: Kevin Rodgers
Subject: Re: making Emacs 22 startup like Emacs 21
Date: Thu, 22 Nov 2007 00:14:29 -0700
User-agent: Thunderbird 1.5.0.13 (Macintosh/20070809)

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

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

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