From 906320ec023f407eec55afa2df3532251056e8b8 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 18 Sep 2005 14:03:55 +0000 Subject: [PATCH] Updated documentation for `image-load-path'. --- lispref/ChangeLog | 5 +++++ lispref/display.texi | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lispref/ChangeLog b/lispref/ChangeLog index fd095d9a308..f86e9b54de5 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,8 @@ +2005-09-18 Chong Yidong + + * display.texi (Defining Images): Updated documentation for + `image-load-path'. + 2005-09-17 Richard M. Stallman * display.texi (Defining Images): Clean up previous change. diff --git a/lispref/display.texi b/lispref/display.texi index 0c36f421899..0d27a9b0edc 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -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 -- 2.39.5