From 6d6006bea95c5ea292ba08490a906eb76481c9fc Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Thu, 14 Nov 2013 09:49:46 +0000 Subject: emacs: add '?' to some prefix keymaps to describe its bindings Added function notmuch-subkeymap-help to describe keybindings of a subkeymap (eg after . or c in notmuch-search and notmuch-show). --- emacs/notmuch.el | 1 + 1 file changed, 1 insertion(+) (limited to 'emacs/notmuch.el') diff --git a/emacs/notmuch.el b/emacs/notmuch.el index c9bc2f22..04717500 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -165,6 +165,7 @@ To enter a line break in customize, press \\[quoted-insert] C-j." (defvar notmuch-search-stash-map (let ((map (make-sparse-keymap))) (define-key map "i" 'notmuch-search-stash-thread-id) + (define-key map "?" 'notmuch-subkeymap-help) map) "Submap for stash commands") (fset 'notmuch-search-stash-map notmuch-search-stash-map) -- cgit v1.2.3