Commit 906320ec authored by Chong Yidong's avatar Chong Yidong
Browse files

Updated documentation for `image-load-path'.

parent 71773400
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.
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment