aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/simple.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 58aa83f5bb2..85df4194088 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2430,7 +2430,8 @@ Outline mode sets this."
2430 ;; with intangibility and point-motion hooks enabled this time. 2430 ;; with intangibility and point-motion hooks enabled this time.
2431 (goto-char opoint) 2431 (goto-char opoint)
2432 (setq inhibit-point-motion-hooks nil) 2432 (setq inhibit-point-motion-hooks nil)
2433 (goto-char (constrain-to-field new opoint t t)) 2433 (goto-char (constrain-to-field new opoint nil t
2434 'inhibit-line-move-field-capture))
2434 ;; If intangibility processing moved us to a different line, 2435 ;; If intangibility processing moved us to a different line,
2435 ;; readjust the horizontal position within the line we ended up at. 2436 ;; readjust the horizontal position within the line we ended up at.
2436 (when (or (< (point) line-beg) (> (point) line-end)) 2437 (when (or (< (point) line-beg) (> (point) line-end))
@@ -2445,7 +2446,8 @@ Outline mode sets this."
2445 (setq new (point))) 2446 (setq new (point)))
2446 (goto-char (point-min)) 2447 (goto-char (point-min))
2447 (setq inhibit-point-motion-hooks nil) 2448 (setq inhibit-point-motion-hooks nil)
2448 (goto-char (constrain-to-field new opoint t t)) 2449 (goto-char (constrain-to-field new opoint nil t
2450 'inhibit-line-move-field-capture))
2449 ))) 2451 )))
2450 nil) 2452 nil)
2451 2453