Make '?" bring up a list of bindings.
authorCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 18:12:13 +0000 (19:12 +0100)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 18:12:13 +0000 (19:12 +0100)
Just using describe-mode for now, (though something more specialized
would be better).

notmuch.el

index 014d15bc85508edf392fe15171c5eec9a4004add..ed1b363b95a37edef4866d383058ae38e39a34c7 100644 (file)
@@ -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)