diff options
| author | Miles Bader | 2002-06-10 08:05:13 +0000 |
|---|---|---|
| committer | Miles Bader | 2002-06-10 08:05:13 +0000 |
| commit | 85fd1cfa83bfff596fabab6d26fd6207c158d858 (patch) | |
| tree | 21964501642db95a13cc157ff83c13d9d834f819 | |
| parent | 0415fedcd5591881f3646bae868ca24287a530e8 (diff) | |
| download | emacs-85fd1cfa83bfff596fabab6d26fd6207c158d858.tar.gz emacs-85fd1cfa83bfff596fabab6d26fd6207c158d858.zip | |
(line-move-finish): Inhibit field motion when computing `line-end'.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/simple.el | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index be19ba2a9dc..fcd53795c80 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2002-06-10 Miles Bader <miles@gnu.org> | 1 | 2002-06-10 Miles Bader <miles@gnu.org> |
| 2 | 2 | ||
| 3 | * simple.el (line-move-finish): Inhibit field motion when | ||
| 4 | computing `line-end'. | ||
| 5 | |||
| 3 | * files.el (revert-buffer): Correct typo: variable name is | 6 | * files.el (revert-buffer): Correct typo: variable name is |
| 4 | `buffer-file-format', not `buffer-file-formats'. | 7 | `buffer-file-format', not `buffer-file-formats'. |
| 5 | 8 | ||
diff --git a/lisp/simple.el b/lisp/simple.el index 6ae43f63770..9f01cef9f66 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -2668,7 +2668,8 @@ Outline mode sets this." | |||
| 2668 | (line-end | 2668 | (line-end |
| 2669 | ;; Compute the end of the line | 2669 | ;; Compute the end of the line |
| 2670 | ;; ignoring effectively intangible newlines. | 2670 | ;; ignoring effectively intangible newlines. |
| 2671 | (let ((inhibit-point-motion-hooks nil)) | 2671 | (let ((inhibit-point-motion-hooks nil) |
| 2672 | (inhibit-field-text-motion t)) | ||
| 2672 | (save-excursion (end-of-line) (point))))) | 2673 | (save-excursion (end-of-line) (point))))) |
| 2673 | 2674 | ||
| 2674 | ;; Move to the desired column. | 2675 | ;; Move to the desired column. |