emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 940b414 1/2: Make TAB work on the outline buttons


From: Lars Ingebrigtsen
Subject: master 940b414 1/2: Make TAB work on the outline buttons
Date: Sun, 31 Oct 2021 19:05:19 -0400 (EDT)

branch: master
commit 940b414cfe4a0d299572a80728566c7ef353dd37
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Make TAB work on the outline buttons
    
    * lisp/outline.el (outline--insert-close-button)
    (outline--insert-open-button): Make TAB work to toggle on the
    buttons, too.
---
 lisp/outline.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/outline.el b/lisp/outline.el
index 6a2738a..12f6381 100644
--- a/lisp/outline.el
+++ b/lisp/outline.el
@@ -976,6 +976,7 @@ If non-nil, EVENT should be a mouse event."
       (overlay-put o 'help-echo "Click to hide")
       (overlay-put o 'keymap
                    (define-keymap
+                     :parent outline-minor-mode-cycle-map
                      ["RET"] #'outline-hide-subtree
                      ["<follow-link>"] 'mouse-face
                      ["<mouse-2>"] #'outline-hide-subtree)))))
@@ -987,6 +988,7 @@ If non-nil, EVENT should be a mouse event."
       (overlay-put o 'help-echo "Click to show")
       (overlay-put o 'keymap
                    (define-keymap
+                     :parent outline-minor-mode-cycle-map
                      ["RET"] #'outline-show-subtree
                      ["<follow-link>"] 'mouse-face
                      ["<mouse-2>"] #'outline-show-subtree)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]