mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(outline-end-of-subtree): Don't leave an empty
line hidden as we would a real next heading.
This commit is contained in:
parent
b36e96c8f3
commit
49bb7f019f
1 changed files with 2 additions and 1 deletions
|
|
@ -894,7 +894,8 @@ Show the heading too, if it is currently invisible."
|
|||
(or first (> (funcall outline-level) level)))
|
||||
(setq first nil)
|
||||
(outline-next-heading))
|
||||
(if (bolp)
|
||||
(if (and (bolp) (not (eolp)))
|
||||
;; We stopped at a nonempty line (the next heading).
|
||||
(progn
|
||||
;; Go to end of line before heading
|
||||
(forward-char -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue