diff options
| author | Richard M. Stallman | 2005-10-23 18:26:38 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-10-23 18:26:38 +0000 |
| commit | a5b4a6a0435d4386362af3ee87731a7b0b3b42ed (patch) | |
| tree | b98a136e3f2c18de524bf3160eb21d54eeb30150 | |
| parent | 01ae35c122edd68c047b5069d99f42f3bb6f41e2 (diff) | |
| download | emacs-a5b4a6a0435d4386362af3ee87731a7b0b3b42ed.tar.gz emacs-a5b4a6a0435d4386362af3ee87731a7b0b3b42ed.zip | |
(line-move-finish): Ignore fields computing LINE-END.
| -rw-r--r-- | lisp/simple.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index efe1559cb4d..8fbfaffaec6 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -3541,10 +3541,11 @@ Outline mode sets this." | |||
| 3541 | ;; Compute the end of the line | 3541 | ;; Compute the end of the line |
| 3542 | ;; ignoring effectively invisible newlines. | 3542 | ;; ignoring effectively invisible newlines. |
| 3543 | (save-excursion | 3543 | (save-excursion |
| 3544 | (end-of-line) | 3544 | ;; Like end-of-line but ignores fields. |
| 3545 | (skip-chars-forward "^\n") | ||
| 3545 | (while (and (not (eobp)) (line-move-invisible-p (point))) | 3546 | (while (and (not (eobp)) (line-move-invisible-p (point))) |
| 3546 | (goto-char (next-char-property-change (point))) | 3547 | (goto-char (next-char-property-change (point))) |
| 3547 | (end-of-line)) | 3548 | (skip-chars-forward "^\n")) |
| 3548 | (point)))) | 3549 | (point)))) |
| 3549 | 3550 | ||
| 3550 | ;; Move to the desired column. | 3551 | ;; Move to the desired column. |