From b17c48ca58ebf6f2963edaa277283c1ed7b0bed9 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Tue, 19 Mar 2019 11:50:31 +0100 Subject: [PATCH] notmuch: Fix "RET" in notmuch-hello --- evil-collection-notmuch.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/evil-collection-notmuch.el b/evil-collection-notmuch.el index d75e993..1cdeabe 100644 --- a/evil-collection-notmuch.el +++ b/evil-collection-notmuch.el @@ -70,6 +70,11 @@ (notmuch-tree-tag (list "+deleted"))) (evil-next-line)) +(defun evil-collection-notmuch-hello-ret () + (interactive) + (evil-execute-in-emacs-state) + (call-interactively (key-binding (kbd "RET")))) + ;;;###autoload (defun evil-collection-notmuch-setup () "Set up `evil' bindings for `notmuch'." @@ -95,7 +100,7 @@ (evil-collection-define-key 'normal 'notmuch-hello-mode-map "g?" 'notmuch-hello-versions (kbd "TAB") 'widget-forward - (kbd "RET") 'widget-button-press + (kbd "RET") 'evil-collection-notmuch-hello-ret (kbd "S-TAB") 'widget-backward (kbd "") 'widget-backward)