Commit 7cd3712b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Invisible Text): The impossible position is

now before the invisible text, not after.
(Defining Images): Clean up last change.
parent e8f10ddb
2006-03-13 Richard Stallman <rms@gnu.org>
* 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 <wohler@newt.com>
* display.texi (Defining Images): Add image-load-path-for-library.
......
......@@ -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}:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment