]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-lib.el
emacs: Define a common shared keymap for all of notmuch
[notmuch] / emacs / notmuch-lib.el
index 782badb0d5857155e5dd19e2aae0b8b7989d8d26..2bf1d2f69ccec3516fdf2a8f9838764db385ae16 100644 (file)
@@ -128,6 +128,11 @@ For example, if you wanted to remove an \"inbox\" tag and add an
   :group 'notmuch-search
   :group 'notmuch-show)
 
+(defvar notmuch-common-keymap
+  (let ((map (make-sparse-keymap)))
+    map)
+  "Keymap shared by all notmuch modes.")
+
 ;; By default clicking on a button does not select the window
 ;; containing the button (as opposed to clicking on a widget which
 ;; does). This means that the button action is then executed in the