/[emacs]/emacs/lispref/display.texi
ViewVC logotype

Diff of /emacs/lispref/display.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.185 by cyd, Thu Sep 15 14:02:34 2005 UTC revision 1.186 by rms, Sat Sep 17 04:59:58 2005 UTC
# Line 3956  image files.  If an element is a string, Line 3956  image files.  If an element is a string,
3956  a directory to search.  If an element is a variable symbol, the value  a directory to search.  If an element is a variable symbol, the value
3957  of that variable is used as a list of directories to search.  of that variable is used as a list of directories to search.
3958    
3959  The default is to search in @file{@code{data-directory}/images}, then  The default is to search in the @file{images} subdirectory of the
3960  in @code{data-directory}, and finally in the directories specified by  directory specified by @code{data-directory}, then the directory
3961    specified by @code{data-directory}, and finally in the directories in
3962  @code{load-path}.  Subdirectories are not automatically included in  @code{load-path}.  Subdirectories are not automatically included in
3963  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
3964  supply the subdirectory name explicitly.  For example, if you put an  supply the subdirectory name explicitly.  For example, to find the
3965  image file @file{bar.xpm} in @file{@code{data-directory}/images/foo/},  image @file{images/foo/bar.xpm} within @code{data-directory} you
3966  you should define the image as:  should specify the image as follows:
3967    
3968  @example  @example
3969    (defimage foo-image '((:type xpm :file "foo/bar.xpm")))  (defimage foo-image '((:type xpm :file "foo/bar.xpm")))
3970  @end example  @end example
3971  @end defvar  @end defvar
3972    

Legend:
Removed from v.1.185  
changed lines
  Added in v.1.186

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26