diff options
author | Austin Clements <amdragon@MIT.EDU> | 2013-09-03 17:45:24 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-09-10 08:07:28 -0300 |
commit | c52fee6bcb3565ce19801b86d83d5783e48df320 (patch) | |
tree | ede2d8543995a816937e9bdf5bfa4abf6362e675 /emacs/notmuch-lib.el | |
parent | 69c52c56f2a7defe03e8e5e2ab470a7eeb4c55fb (diff) |
emacs: Define a common shared keymap for all of notmuch
This defines a single, currently empty keymap that all other notmuch
mode maps inherit from.
Diffstat (limited to 'emacs/notmuch-lib.el')
-rw-r--r-- | emacs/notmuch-lib.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 782badb0..2bf1d2f6 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -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 |