# HG changeset patch # User Chong Yidong # Date 1126792864 0 # Node ID 82ce0d75e8ed329b046d47e4283554e9189d5e96 # Parent 78d74ef1436b8cd43cbb77164755d07413ef03cc New variable `image-load-path'. diff -r 78d74ef1436b -r 82ce0d75e8ed etc/NEWS --- a/etc/NEWS Thu Sep 15 14:00:09 2005 +0000 +++ b/etc/NEWS Thu Sep 15 14:01:04 2005 +0000 @@ -4606,6 +4606,17 @@ 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)