]> git.eshelyaron.com Git - emacs.git/commitdiff
New variable `image-load-path'.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 15 Sep 2005 14:01:04 +0000 (14:01 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 15 Sep 2005 14:01:04 +0000 (14:01 +0000)
etc/NEWS

index b557f23271852abd578d237faeff6f1511967d2a..887efd6b8f94c1b3ebaae4dc12e658635a8dd785 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -4606,6 +4606,17 @@ When you click the mouse when the mouse pointer is over a hot-spot,
 an event is composed by combining the ID of the hot-spot with the
 mouse event, e.g. [area4 mouse-1] if the hot-spot's ID is `area4'.
 
++++
+*** The function `find-image' now searches in etc/images/ and etc/.
+The new variable `image-load-path' is a list of locations in which to
+search for image files.  The default is to search in etc/images, then
+in etc/, and finally in the directories specified by `load-path'.
+Subdirectories of etc/ and etc/images are not recursively searched; if
+you put an image file in a subdirectory, you have to specify it
+explicitly; for example, if an image is put in etc/images/foo/bar.xpm:
+
+  (defimage foo-image '((:type xpm :file "foo/bar.xpm")))
+
 ** Mouse pointer features:
 
 +++ (lispref)