]> git.eshelyaron.com Git - emacs.git/commit
Handle "Before first headings" error in outline-cycle
authorYuan Fu <casouri@gmail.com>
Mon, 19 Oct 2020 08:45:14 +0000 (10:45 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 19 Oct 2020 08:45:14 +0000 (10:45 +0200)
commit422fdabe7bcaa9eac9aa5ae688ccf9f30cf6765c
tree117362464f2f46d4810e28d3e00c2b4a6137062f
parent9f9e3bc24b1ee44b13ebb41293f6dd012ce2298e
Handle "Before first headings" error in outline-cycle

* lisp/outline.el (outline-before-first-heading): New error.
(outline-back-to-heading): Signal the new error.
(outline-cycle): Ignore the error.
(outline-cycle-buffer): Simply pass 1 to 'outline-hide-sublevels'
(bug#41130).
lisp/outline.el