diff options
| -rw-r--r-- | lisp/textmodes/outline.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el index b857615c7a7..03281812a4f 100644 --- a/lisp/textmodes/outline.el +++ b/lisp/textmodes/outline.el | |||
| @@ -483,7 +483,9 @@ A heading line is one that starts with a `*' (or that | |||
| 483 | (while (and (not (eobp)) | 483 | (while (and (not (eobp)) |
| 484 | (re-search-forward (concat "^\\(?:" outline-regexp "\\)") | 484 | (re-search-forward (concat "^\\(?:" outline-regexp "\\)") |
| 485 | nil 'move) | 485 | nil 'move) |
| 486 | (outline-invisible-p))) | 486 | (save-excursion |
| 487 | (goto-char (match-beginning 0)) | ||
| 488 | (outline-invisible-p)))) | ||
| 487 | (setq arg (1- arg))) | 489 | (setq arg (1- arg))) |
| 488 | (beginning-of-line)) | 490 | (beginning-of-line)) |
| 489 | 491 | ||