From 7cd3712bda1dc2573877f78338ef7d9424c8cc2a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 13 Mar 2006 11:47:26 +0000 Subject: [PATCH] (Invisible Text): The impossible position is now before the invisible text, not after. (Defining Images): Clean up last change. --- lispref/ChangeLog | 6 ++++++ lispref/display.texi | 40 +++++++++++++++++++++------------------- 2 files changed, 27 insertions(+), 19 deletions(-) diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 23e6b78b130..4315d817232 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,9 @@ +2006-03-13 Richard Stallman + + * display.texi (Invisible Text): The impossible position is + now before the invisible text, not after. + (Defining Images): Clean up last change. + 2006-03-11 Bill Wohler * display.texi (Defining Images): Add image-load-path-for-library. diff --git a/lispref/display.texi b/lispref/display.texi index cd46be95b05..1c6de3bb2a9 100644 --- a/lispref/display.texi +++ b/lispref/display.texi @@ -800,15 +800,15 @@ explicitly ignore invisible newlines if @code{line-move-ignore-invisible} is non-@code{nil} (the default), but only because they are explicitly programmed to do so. - However, if a command ends with point inside or immediately after + However, if a command ends with point inside or immediately before invisible text, the main editing loop moves point further forward or further backward (in the same direction that the command already moved it) until that condition is no longer true. Thus, if the command moved point back into an invisible range, Emacs moves point back to -the beginning of that range, following the previous visible character. -If the command moved point forward into an invisible range, Emacs -moves point forward past the first visible character that follows the -invisible text. +the beginning of that range, and then back one more character. If the +command moved point forward into an invisible range, Emacs moves point +forward up to the first visible character that follows the invisible +text. Incremental search can make invisible overlays visible temporarily and/or permanently when a match includes invisible text. To enable @@ -4127,20 +4127,22 @@ should specify the image as follows: @defun image-load-path-for-library library image &optional path no-error @tindex image-load-path-for-library -Return a suitable search path for images relative to @var{library}. - -Images for @var{library} are searched for in @file{../../etc/images} -and @file{../etc/images} relative to the files in -@file{lisp/@var{library}} as well as in @code{image-load-path} and -@var{load-path}. - -This function returns the value of @code{load-path} augmented with the -directory containing @var{image}. If @var{path} is given, it is used -instead of @code{load-path}. If @code{path} is @code{t}, just return -the directory that contains @var{image}. - -If @var{no-error} is non-nil, this function returns @code{nil} if a -suitable path can't be found rather than signaling an error. +This function returns a suitable search path for images relative to +@var{library}. + +First it searches for the image in a path suitable for @var{library} +includes @file{../../etc/images} and @file{../etc/images} relative to +the files in @file{lisp/@var{library}}, as well as in +@code{image-load-path} and @code{load-path}. + +Then this function returns the value of @code{load-path} augmented +with the directory that really contains @var{image}. If @var{path} is +given, it is used instead of @code{load-path}. If @var{path} is +@code{t}, then it returns just the directory that contains +@var{image}. + +If @var{no-error} is non-@code{nil}, this function returns @code{nil} +if a suitable path can't be found, rather than signaling an error. Here is an example that uses a common idiom to provide compatibility with versions of Emacs that lack the variable @code{image-load-path}: -- 2.39.2