diff options
| author | Miles Bader | 2000-07-24 23:48:53 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-07-24 23:48:53 +0000 |
| commit | 59b19d324b94fdec6e86c3ee0851b22b0f100d93 (patch) | |
| tree | 7a72a709a9c48bbdf0611dd6f3da8b6a49092751 | |
| parent | 8d0941fa0d8f36778b7f2812019afd6f0d063cfe (diff) | |
| download | emacs-59b19d324b94fdec6e86c3ee0851b22b0f100d93.tar.gz emacs-59b19d324b94fdec6e86c3ee0851b22b0f100d93.zip | |
(line-move):
Pass INHIBIT-CAPTURE-PROPERTY argument to constrain-to-field.
Pass nil ESCAPE-FROM-EDGE argument to constrain-to-field.
| -rw-r--r-- | lisp/simple.el | 6 |
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 | ||