Commit 49bb7f01 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(outline-end-of-subtree): Don't leave an empty

line hidden as we would a real next heading.
parent b36e96c8
......@@ -894,7 +894,8 @@ Show the heading too, if it is currently invisible."
(or first (> (funcall outline-level) level)))
(setq first nil)
(if (bolp)
(if (and (bolp) (not (eolp)))
;; We stopped at a nonempty line (the next heading).
;; Go to end of line before heading
(forward-char -1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment