aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-18 19:12:13 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-18 19:12:13 +0100
commit0656fb518df3190aebc04ed955c8b3c3cc21759c (patch)
tree3e789049be0cbf5838e37dc6212abe0f3edebb0f /notmuch.el
parentb032cf98f55da9610b6bb971b32d79e24acb4648 (diff)
Make '?" bring up a list of bindings.
Just using describe-mode for now, (though something more specialized would be better).
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/notmuch.el b/notmuch.el
index 014d15bc..ed1b363b 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -53,6 +53,7 @@
(define-key map (kbd "DEL") 'notmuch-show-rewind)
(define-key map " " 'notmuch-show-advance-marking-read-and-archiving)
(define-key map "|" 'notmuch-show-pipe-message)
+ (define-key map "?" 'describe-mode)
map)
"Keymap for \"notmuch show\" buffers.")
(fset 'notmuch-show-mode-map notmuch-show-mode-map)
@@ -698,6 +699,7 @@ thread from that buffer can be show when done with this one)."
(define-key map "\M->" 'notmuch-search-goto-last-thread)
(define-key map " " 'notmuch-search-scroll-up)
(define-key map (kbd "<DEL>") 'notmuch-search-scroll-down)
+ (define-key map "?" 'describe-mode)
map)
"Keymap for \"notmuch search\" buffers.")
(fset 'notmuch-search-mode-map notmuch-search-mode-map)