Mercurial > emacs
changeset 69462:831f4f793f95
(Invisible Text): The impossible position is
now before the invisible text, not after.
(Defining Images): Clean up last change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 13 Mar 2006 11:47:19 +0000 |
parents | 1527bb09ec30 |
children | 918a1f6e3a74 |
files | lispref/display.texi |
diffstat | 1 files changed, 21 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/display.texi Mon Mar 13 10:10:09 2006 +0000 +++ b/lispref/display.texi Mon Mar 13 11:47:19 2006 +0000 @@ -800,15 +800,15 @@ @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 @@ @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}: