all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Subject: Re: Baffling phenomena with site-start.el
Date: Sun, 9 Feb 2003 08:17:38 +0200 (IST)	[thread overview]
Message-ID: <Pine.SUN.3.91.1030209081529.24080E-100000@is> (raw)
In-Reply-To: <m2wukannwj.fsf@sbcglobal.net>


On Sun, 9 Feb 2003, Harry Putnam wrote:

> Briefly, the phenomena is that this line of code:
> (setq inhibit-startup-message t)
> Is ignored when inserted in site-start.el, but works (prevents splash
> screen) when inserted in ~.emacs.

This is by design.  The following fragment from startup.el should explain 
why:

    ;; Run the site-start library if it exists.  The point of this file is
    ;; that it is run before .emacs.  There is no point in doing this after
    ;; .emacs; that is useless.
    (if site-run-file
        (load site-run-file t t))

    ;; Sites should not disable this.  Only individuals should disable
    ;; the startup message.
    (setq inhibit-startup-message nil)

    ;; Load that user's init file, or the default one, or none.

As you see, the startup code forcefully resets inhibit-startup-message 
after it loads site-start.el, to prevent site administrators from doing 
exactly what you wanted to do.

  reply	other threads:[~2003-02-09  6:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-09  3:17 Baffling phenomena with site-start.el Harry Putnam
2003-02-09  6:17 ` Eli Zaretskii [this message]
     [not found] <mailman.1686.1044771491.21513.help-gnu-emacs@gnu.org>
2003-02-09 16:02 ` Harry Putnam

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=Pine.SUN.3.91.1030209081529.24080E-100000@is \
    --to=eliz@is.elta.co.il \
    /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.