]> git.eshelyaron.com Git - emacs.git/commitdiff
(Invisible Text): The impossible position is
authorRichard M. Stallman <rms@gnu.org>
Mon, 13 Mar 2006 11:47:26 +0000 (11:47 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 13 Mar 2006 11:47:26 +0000 (11:47 +0000)
now before the invisible text, not after.
(Defining Images): Clean up last change.

lispref/ChangeLog
lispref/display.texi

index 23e6b78b1302dfa49d4328c73e596741ef9e5c88..4315d817232a7b244ee273b8d7f02800acaef4af 100644 (file)
@@ -1,3 +1,9 @@
+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.
index cd46be95b05c406b8de96c37cb5cafec6f92a916..1c6de3bb2a9ba3ee930836b310f7c1a4e125ddd4 100644 (file)
@@ -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}: