From 486daaa504ab18287be24fa86a72d91b81fae564 Mon Sep 17 00:00:00 2001 From: Bill Wohler Date: Thu, 16 Mar 2006 16:57:39 +0000 Subject: [PATCH] (Defining Images): In image-load-path-for-library, prefer user's images. --- lispref/ChangeLog | 5 +++++ 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 + + * display.texi (Defining Images): In image-load-path-for-library, + prefer user's images. + 2006-03-15 Stefan Monnier * 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 -- 2.39.2