]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch.el
emacs: Define a common shared keymap for all of notmuch
[notmuch] / emacs / notmuch.el
index 03040964ab34a31f13ec7618e3cc8839c70930af..e098bd7bb1b98a8a3d700b2ce8ed69c7452707da 100644 (file)
@@ -198,6 +198,7 @@ first line of documentation for the bound function."
 
 (defvar notmuch-search-mode-map
   (let ((map (make-sparse-keymap)))
+    (set-keymap-parent map notmuch-common-keymap)
     (define-key map "?" 'notmuch-help)
     (define-key map "q" 'notmuch-kill-this-buffer)
     (define-key map "x" 'notmuch-kill-this-buffer)