summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/benchmark-tests.el
diff options
context:
space:
mode:
authorPaul W. Rankin <pwr@skeletons.cc>2020-11-24 06:08:59 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-11-24 06:08:59 +0100
commit5a823a2a0c3eca60dd3939fba67df1bbe5a1b715 (patch)
tree241c97c7e88bbca196bd5ff95a01e44ec371db1f /test/lisp/emacs-lisp/benchmark-tests.el
parente2acb8fef4a40b94f7c43c7548453b997353e006 (diff)
downloademacs-5a823a2a0c3eca60dd3939fba67df1bbe5a1b715.tar.gz
emacs-5a823a2a0c3eca60dd3939fba67df1bbe5a1b715.tar.bz2
emacs-5a823a2a0c3eca60dd3939fba67df1bbe5a1b715.zip
Handle outline overlays better when cycling in outline.el
* lisp/outline.el (outline--cycle-state): Only consider outline overlays that are on outline headings; when subtree end is point-max, return overlay-end +1 because final subtree overlay only reaches point-max -1 (bug#41198). (outline-cycle-buffer): Check that buffer has top-level headings before calling outline-hide-sublevels 1 thus preventing disconcerting buffer state of content reduced to single "..."
Diffstat (limited to 'test/lisp/emacs-lisp/benchmark-tests.el')
0 files changed, 0 insertions, 0 deletions