From: Miles Bader Date: Mon, 24 Jul 2000 23:48:53 +0000 (+0000) Subject: (line-move): X-Git-Tag: emacs-pretest-21.0.90~2625 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=59b19d324b94fdec6e86c3ee0851b22b0f100d93;p=emacs.git (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to constrain-to-field. --- 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." ;; 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 @@ Outline mode sets this." (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)