Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
49bb7f01
Commit
49bb7f01
authored
Dec 04, 2006
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/outline.el
lisp/outline.el
+2
-1
No files found.
lisp/outline.el
View file @
49bb7f01
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment