From 0656fb518df3190aebc04ed955c8b3c3cc21759c Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 18 Nov 2009 19:12:13 +0100 Subject: [PATCH] Make '?" bring up a list of bindings. Just using describe-mode for now, (though something more specialized would be better). --- notmuch.el | 2 ++ 1 file changed, 2 insertions(+) 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 "") 'notmuch-search-scroll-down) + (define-key map "?" 'describe-mode) map) "Keymap for \"notmuch search\" buffers.") (fset 'notmuch-search-mode-map notmuch-search-mode-map) -- 2.26.2