changeset 30441:fde88b706d7e

(line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to constrain-to-field.
author Miles Bader <miles@gnu.org>
date Mon, 24 Jul 2000 23:48:53 +0000
parents a438686586dd
children 1013c1a5b42b
files lisp/simple.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Mon Jul 24 23:47:09 2000 +0000
+++ b/lisp/simple.el	Mon Jul 24 23:48:53 2000 +0000
@@ -2430,7 +2430,8 @@
       ;; with intangibility and point-motion hooks enabled this time.
       (goto-char opoint)
       (setq inhibit-point-motion-hooks nil)
-      (goto-char (constrain-to-field new opoint t t))
+      (goto-char (constrain-to-field new opoint nil t
+				     'inhibit-line-move-field-capture))
       ;; If intangibility processing moved us to a different line,
       ;; readjust the horizontal position within the line we ended up at.
       (when (or (< (point) line-beg) (> (point) line-end))
@@ -2445,7 +2446,8 @@
 	    (setq new (point)))
 	(goto-char (point-min))
 	(setq inhibit-point-motion-hooks nil)
-	(goto-char (constrain-to-field new opoint t t))
+	(goto-char (constrain-to-field new opoint nil t
+				       'inhibit-line-move-field-capture))
 	)))
   nil)