all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: image-load-path / tool-bar icons / dumped Emacs with images.el
Date: Thu, 20 Oct 2005 19:38:24 -0400	[thread overview]
Message-ID: <E1ESjzM-0004Zd-K7@fencepost.gnu.org> (raw)
In-Reply-To: <739FCE66-7AB2-4375-A4EC-32473BF1EFFC@inf.ed.ac.uk> (message from David Reitter on Thu, 20 Oct 2005 15:32:10 +0100)

    Of course, I can add the new location to the load-path now, but I  
    think the better solution would be if image-load-path would be  
    initialized at run-time, or if there was some flexible way of  
    specifying something like '(load-path "/images") in image-load-path.

I think initializing the default at run time would be a good
solution.  It doesn't make the usage of the feature any more
complicated.

The natural place to do it is in startup.el.  To make this cleaner, we
could add a facility called `at-startup' which would record a list of
expressions to be executed at startup, but do them immediately if
after startup.

(defmacro at-startup (&rest body)
  `(if too-late-already
       (progn . ,body)
     (setq before-init-hook
           (nconc before-init-hook ',(copy-sequence body))))
  nil)

  reply	other threads:[~2005-10-20 23:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-20 14:32 image-load-path / tool-bar icons / dumped Emacs with images.el David Reitter
2005-10-20 23:38 ` Richard M. Stallman [this message]
2005-10-21  7:30   ` Kim F. Storm
2005-10-21 14:40     ` Stefan Monnier
2005-10-21 15:08       ` Kim F. Storm
2005-10-21 22:19     ` Richard M. Stallman
2005-10-27 23:06     ` David Reitter
2005-10-28 16:17       ` Richard M. Stallman

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=E1ESjzM-0004Zd-K7@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@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.