diff options
author | Mark Walters <markwalters1009@gmail.com> | 2013-11-14 09:49:46 +0000 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2013-12-10 03:52:54 +0800 |
commit | 6d6006bea95c5ea292ba08490a906eb76481c9fc (patch) | |
tree | fce89030ed81182227f1753bb246fba6ecf48b4c /emacs/notmuch-show.el | |
parent | 88e6a2995a0108f6ceb94924bd7e6c3623c43dec (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-show.el')
-rw-r--r-- | emacs/notmuch-show.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 784644cd..1ac80cac 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1241,6 +1241,7 @@ reset based on the original query." (define-key map "t" 'notmuch-show-stash-to) (define-key map "l" 'notmuch-show-stash-mlarchive-link) (define-key map "L" 'notmuch-show-stash-mlarchive-link-and-go) + (define-key map "?" 'notmuch-subkeymap-help) map) "Submap for stash commands") (fset 'notmuch-show-stash-map notmuch-show-stash-map) @@ -1251,6 +1252,7 @@ reset based on the original query." (define-key map "v" 'notmuch-show-view-part) (define-key map "o" 'notmuch-show-interactively-view-part) (define-key map "|" 'notmuch-show-pipe-part) + (define-key map "?" 'notmuch-subkeymap-help) map) "Submap for part commands") (fset 'notmuch-show-part-map notmuch-show-part-map) |