diff options
| author | Richard M. Stallman | 2002-12-22 22:02:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-12-22 22:02:25 +0000 |
| commit | ecb2925bf0c20a3ab0faacb48dfc072a10d0f2b5 (patch) | |
| tree | 69615785676d6e8541b39b425ab75079afba68af /lisp/textmodes | |
| parent | fa74535d4483ab0107607da3e7a85472fb1765c4 (diff) | |
| download | emacs-ecb2925bf0c20a3ab0faacb48dfc072a10d0f2b5.tar.gz emacs-ecb2925bf0c20a3ab0faacb48dfc072a10d0f2b5.zip | |
(outline-next-visible-heading):
When going forward, test outline-invisible-p at start of header.
Diffstat (limited to 'lisp/textmodes')
| -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 | ||