diff options
author | Bill Wohler <wohler@newt.com> | 2006-03-16 16:57:39 +0000 |
---|---|---|
committer | Bill Wohler <wohler@newt.com> | 2006-03-16 16:57:39 +0000 |
commit | 486daaa504ab18287be24fa86a72d91b81fae564 (patch) | |
tree | 44df209161bfc30c717acab20e5a0ffafb11ec5d /lispref | |
parent | c0696e1b955ce2f22821a28c33aeebda481b4419 (diff) | |
download | emacs-486daaa504ab18287be24fa86a72d91b81fae564.tar.gz |
(Defining Images): In image-load-path-for-library, prefer user's
images.
Diffstat (limited to 'lispref')
-rw-r--r-- | lispref/ChangeLog | 5 | ||||
-rw-r--r-- | lispref/display.texi | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 1ea4a73365c..4dbe23d6edd 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,8 @@ +2006-03-16 Bill Wohler <wohler@newt.com> + + * display.texi (Defining Images): In image-load-path-for-library, + prefer user's images. + 2006-03-15 Stefan Monnier <monnier@iro.umontreal.ca> * modes.texi (Region to Fontify): Remove font-lock-lines-before. diff --git a/lispref/display.texi b/lispref/display.texi index 649d2ca17a0..8b78b6a19ec 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -4130,10 +4130,11 @@ should specify the image as follows: This function returns a suitable search path for images relative to @var{library}. -First it searches for @var{image} in a path suitable for -@var{library}, which includes @file{../../etc/images} and -@file{../etc/images} relative to the library file itself, followed by -@code{image-load-path} and @code{load-path}. +First it searches for @var{image} in @code{image-load-path} (excluding +@file{@code{data-directory}/images}) and @code{load-path}, followed by +a path suitable for @var{library}, which includes +@file{../../etc/images} and @file{../etc/images} relative to the +library file itself, and then in @file{@code{data-directory}/images}. Then this function returns a list of directories which contains first the directory in which @var{image} was found, followed by the value of |