Updated documentation for `image-load-path'.

This commit is contained in:
Chong Yidong 2005-09-18 14:03:55 +00:00
parent 71773400ad
commit 906320ec02
2 changed files with 10 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2005-09-18 Chong Yidong <cyd@stupidchicken.com>
* display.texi (Defining Images): Updated documentation for
`image-load-path'.
2005-09-17 Richard M. Stallman <rms@gnu.org>
* display.texi (Defining Images): Clean up previous change.

View file

@ -3952,9 +3952,10 @@ The image is looked for in @code{image-load-path}.
@defvar image-load-path
@tindex image-load-path
This variable's value is a list of locations in which to search for
image files. If an element is a string, it is taken to be the name of
a directory to search. If an element is a variable symbol, the value
of that variable is used as a list of directories to search.
image files. If an element is a string or a variable symbol whose
value is a string, the string is taken to be the name of a directory
to search. If an element is a variable symbol whose value is a list,
that is taken to be a list of directory names to search.
The default is to search in the @file{images} subdirectory of the
directory specified by @code{data-directory}, then the directory
@ -3962,7 +3963,7 @@ specified by @code{data-directory}, and finally in the directories in
@code{load-path}. Subdirectories are not automatically included in
the search, so if you put an image file in a subdirectory, you have to
supply the subdirectory name explicitly. For example, to find the
image @file{images/foo/bar.xpm} within @code{data-directory} you
image @file{images/foo/bar.xpm} within @code{data-directory}, you
should specify the image as follows:
@example