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.")
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel