aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch.el
diff options
context:
space:
mode:
authorGravatar Mark Walters <markwalters1009@gmail.com>2013-11-14 09:49:46 +0000
committerGravatar David Bremner <david@tethera.net>2013-12-10 03:52:54 +0800
commit6d6006bea95c5ea292ba08490a906eb76481c9fc (patch)
treefce89030ed81182227f1753bb246fba6ecf48b4c /emacs/notmuch.el
parent88e6a2995a0108f6ceb94924bd7e6c3623c43dec (diff)
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).
Diffstat (limited to 'emacs/notmuch.el')
-rw-r--r--emacs/notmuch.el1
1 files changed, 1 insertions, 0 deletions
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)