(outline-next-visible-heading):

When going forward, test outline-invisible-p at start of header.
This commit is contained in:
Richard M. Stallman 2002-12-22 22:02:25 +00:00
parent fa74535d44
commit ecb2925bf0

View file

@ -483,7 +483,9 @@ A heading line is one that starts with a `*' (or that
(while (and (not (eobp))
(re-search-forward (concat "^\\(?:" outline-regexp "\\)")
nil 'move)
(outline-invisible-p)))
(save-excursion
(goto-char (match-beginning 0))
(outline-invisible-p))))
(setq arg (1- arg)))
(beginning-of-line))