mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
contrib: pick: make help close the message pane first
Previously pressing "?" for help when the message pane was open meant the help window was very small. Close the message pane before displaying help.
This commit is contained in:
parent
d3ef0f74cf
commit
8349173e96
1 changed files with 3 additions and 1 deletions
|
@ -235,10 +235,12 @@ FUNC."
|
|||
(define-key map (kbd "TAB") (notmuch-pick-to-message-pane #'notmuch-show-next-button))
|
||||
(define-key map "e" (notmuch-pick-to-message-pane #'notmuch-pick-button-activate))
|
||||
|
||||
;; bindings from show (or elsewhere) but we close the message pane first.
|
||||
(define-key map "?" (notmuch-pick-close-message-pane-and #'notmuch-help))
|
||||
|
||||
;; The main pick bindings
|
||||
(define-key map "q" 'notmuch-pick-quit)
|
||||
(define-key map "x" 'notmuch-pick-quit)
|
||||
(define-key map "?" 'notmuch-help)
|
||||
(define-key map "a" 'notmuch-pick-archive-message-then-next)
|
||||
(define-key map "=" 'notmuch-pick-refresh-view)
|
||||
(define-key map "s" 'notmuch-pick-to-search)
|
||||
|
|
Loading…
Reference in a new issue