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
e6a9aec7
Commit
e6a9aec7
authored
May 25, 1994
by
Richard M. Stallman
Browse files
(outline-chart-subtree): Include outline-next-heading in loop conditions
to detect end-of-buffer (and avoid infinite loop).
parent
92bab011
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/allout.el
lisp/allout.el
+3
-3
No files found.
lisp/allout.el
View file @
e6a9aec7
...
...
@@ -1453,9 +1453,9 @@ starting point, and PREV-DEPTH is depth of prior topic."
(or (outline-next-sibling curr-depth)
;; or no more siblings - proceed to
;; next heading at lesser depth:
(
while
(
<=
curr-depth
(while
(and
(<= curr-depth
(outline-recent-depth))
(
outline-next-heading
)))
(outline-next-heading)))
)
(outline-next-heading)))
((and (< prev-depth curr-depth)
...
...
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