diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2020-11-08 20:02:48 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2020-11-11 20:13:26 -0400 |
| commit | 05a436f730cf6277c403b445bca9419ea89a7b2d (patch) | |
| tree | 342ff35eb2241060a1491c08083ef75dfc741e14 | |
| parent | b9f328b75d02772d74fe2d8fc03f6a5631acacac (diff) | |
emacs: don't fset keymaps
These keymaps are never invoked as commands
so the function definitions serve no purpose.
| -rw-r--r-- | emacs/notmuch-show.el | 1 | ||||
| -rw-r--r-- | emacs/notmuch-tree.el | 1 | ||||
| -rw-r--r-- | emacs/notmuch.el | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index b08ceb97..ec22fd94 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1485,7 +1485,6 @@ reset based on the original query." (define-key map "B" 'notmuch-show-browse-urls) map) "Keymap for \"notmuch show\" buffers.") -(fset 'notmuch-show-mode-map notmuch-show-mode-map) (define-derived-mode notmuch-show-mode fundamental-mode "notmuch-show" "Major mode for viewing a thread with notmuch. diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index ea6a5cf3..ad08f7c6 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -361,7 +361,6 @@ FUNC." (define-key map "e" 'notmuch-tree-resume-message) map) "Keymap for \"notmuch tree\" buffers.") -(fset 'notmuch-tree-mode-map notmuch-tree-mode-map) (defun notmuch-tree-get-message-properties () "Return the properties of the current message as a plist. diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 83bcee57..165aaa43 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -194,7 +194,6 @@ there will be called at other points of notmuch execution." (define-key map "U" 'notmuch-unthreaded-from-search-current-query) map) "Keymap for \"notmuch search\" buffers.") -(fset 'notmuch-search-mode-map notmuch-search-mode-map) (defvar notmuch-search-stash-map (let ((map (make-sparse-keymap))) |
