3952 |
@defvar image-load-path |
@defvar image-load-path |
3953 |
@tindex image-load-path |
@tindex image-load-path |
3954 |
This variable's value is a list of locations in which to search for |
This variable's value is a list of locations in which to search for |
3955 |
image files. If an element is a string, it is taken to be the name of |
image files. If an element is a string or a variable symbol whose |
3956 |
a directory to search. If an element is a variable symbol, the value |
value is a string, the string is taken to be the name of a directory |
3957 |
of that variable is used as a list of directories to search. |
to search. If an element is a variable symbol whose value is a list, |
3958 |
|
that is taken to be a list of directory names to search. |
3959 |
|
|
3960 |
The default is to search in the @file{images} subdirectory of the |
The default is to search in the @file{images} subdirectory of the |
3961 |
directory specified by @code{data-directory}, then the directory |
directory specified by @code{data-directory}, then the directory |
3963 |
@code{load-path}. Subdirectories are not automatically included in |
@code{load-path}. Subdirectories are not automatically included in |
3964 |
the search, so if you put an image file in a subdirectory, you have to |
the search, so if you put an image file in a subdirectory, you have to |
3965 |
supply the subdirectory name explicitly. For example, to find the |
supply the subdirectory name explicitly. For example, to find the |
3966 |
image @file{images/foo/bar.xpm} within @code{data-directory} you |
image @file{images/foo/bar.xpm} within @code{data-directory}, you |
3967 |
should specify the image as follows: |
should specify the image as follows: |
3968 |
|
|
3969 |
@example |
@example |