]> git.eshelyaron.com Git - emacs.git/commit
* lisp/outline.el: Use 'outline-cycle' on buttons for 'RET' like 'TAB' uses.
authorJuri Linkov <juri@linkov.net>
Sat, 22 Oct 2022 18:57:40 +0000 (21:57 +0300)
committerJuri Linkov <juri@linkov.net>
Sat, 22 Oct 2022 18:57:40 +0000 (21:57 +0300)
commit8bde7d40a400780a23eb8b3ba97a41c9539d17b6
treedc989465f428ac2e73efc29e30b76103865beb5e
parentfab208495699907891bd8df2379efeb317e5d446
* lisp/outline.el: Use 'outline-cycle' on buttons for 'RET' like 'TAB' uses.

(outline--make-button-overlay, outline--make-margin-overlay):
Use overlay keymap where RET and mouse-2 are bound to outline-cycle.
(outline--insert-open-button, outline--insert-close-button):
Move overlay keymap to outline--make-button-overlay and replace
bindings outline-hide-subtree/outline-show-subtree with outline-cycle.
lisp/outline.el