(line-move-finish): Inhibit field motion when computing `line-end'.
authorMiles Bader <miles@gnu.org>
Mon, 10 Jun 2002 08:05:13 +0000 (08:05 +0000)
committerMiles Bader <miles@gnu.org>
Mon, 10 Jun 2002 08:05:13 +0000 (08:05 +0000)
lisp/ChangeLog
lisp/simple.el

index be19ba2..fcd5379 100644 (file)
@@ -1,5 +1,8 @@
 2002-06-10  Miles Bader  <miles@gnu.org>
 
+       * simple.el (line-move-finish): Inhibit field motion when
+       computing `line-end'.
+
        * files.el (revert-buffer): Correct typo: variable name is
        `buffer-file-format', not `buffer-file-formats'.
 
index 6ae43f6..9f01cef 100644 (file)
@@ -2668,7 +2668,8 @@ Outline mode sets this."
            (line-end
             ;; Compute the end of the line
             ;; ignoring effectively intangible newlines.
-            (let ((inhibit-point-motion-hooks nil))
+            (let ((inhibit-point-motion-hooks nil)
+                  (inhibit-field-text-motion t))
               (save-excursion (end-of-line) (point)))))
 
        ;; Move to the desired column.