From: David Reitter <dreitter@inf.ed.ac.uk>
Subject: image-load-path / tool-bar icons / dumped Emacs with images.el
Date: Thu, 20 Oct 2005 15:32:10 +0100 [thread overview]
Message-ID: <739FCE66-7AB2-4375-A4EC-32473BF1EFFC@inf.ed.ac.uk> (raw)
I have an issue with image-load-path, defined in images.el.
Since the tool-bar images have been moved to data-directory/images,
my Emacs can't find the icons any more.
The reason is that I am precompiling image.el into a dumped binary,
and when that happens, image-load-path gets initialized. At run-time,
the data-directory is somewhere else, however.
Before the tool-bar icons were moved, this didn't matter too much,
since I had lisp/toolbar in the load-path (maybe because it's a
subdir of lisp).
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.
> (defvar image-load-path
> (list (file-name-as-directory (expand-file-name "images" data-
> directory))
> 'data-directory 'load-path)
> "List of locations in which to search for image files.
> If an element is a string, it defines a directory to search.
> If an element is a variable symbol whose value is a string, that
> value defines a directory to search.
> If an element is a variable symbol whose value is a list, the
> value is used as a list of directories to search.")
next reply other threads:[~2005-10-20 14:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-20 14:32 David Reitter [this message]
2005-10-20 23:38 ` image-load-path / tool-bar icons / dumped Emacs with images.el Richard M. Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=739FCE66-7AB2-4375-A4EC-32473BF1EFFC@inf.ed.ac.uk \
--to=dreitter@inf.ed.ac.uk \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).