]> git.eshelyaron.com Git - emacs.git/commit
* lisp/outline.el: More improvements for buttons/margins (bug#57813)
authorJuri Linkov <juri@linkov.net>
Wed, 21 Sep 2022 06:42:55 +0000 (09:42 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 21 Sep 2022 06:42:55 +0000 (09:42 +0300)
commit5fbf93d918ba85afa8506569328dfc9c510cee42
tree253b274f78f95b74794ccf39ebc55d552aa8faaa
parentcc9acda7d36ea980af8cc987ab5eb746284bbff0
* lisp/outline.el: More improvements for buttons/margins (bug#57813)

(outline-minor-mode-use-margins): Don't use for modes derived from help-mode
that are handled by 'outline-minor-mode-use-buttons'.
(outline-open, outline-close, outline-close-rtl): Use image height
proportional to font height of 0.8em.
(outline-minor-mode): Remove overlays 'outline-button' and 'outline-margin',
and move such overlay removal after the call of 'outline-show-all'
that might trigger overlay addition.
lisp/outline.el