all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: making Emacs 22 startup like Emacs 21
Date: Mon, 26 Nov 2007 19:34:29 +0100	[thread overview]
Message-ID: <85y7ck26ve.fsf@lola.goethe.zz> (raw)
In-Reply-To: mailman.4136.1196101342.18990.help-gnu-emacs@gnu.org

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

      parent reply	other threads:[~2007-11-26 18:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-09 23:03 making Emacs 22 startup like Emacs 21 Will Parsons
2007-11-10  7:56 ` Sven Joachim
2007-11-10 19:19   ` Will Parsons
2007-11-16 18:11   ` Kevin Rodgers
     [not found]   ` <mailman.3671.1195236694.18990.help-gnu-emacs@gnu.org>
2007-11-16 18:57     ` Sven Joachim
2007-11-17  1:00       ` Johan Bockgård
2007-11-22  7:14         ` Kevin Rodgers
2007-11-26 18:22           ` David Brodbeck
     [not found]           ` <mailman.4136.1196101342.18990.help-gnu-emacs@gnu.org>
2007-11-26 18:34             ` David Kastrup [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85y7ck26ve.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.