These keymaps are never invoked as commands so the function definitions serve no purpose. --- emacs/notmuch-show.el | 1 - emacs/notmuch-tree.el | 1 - emacs/notmuch.el | 1 - 3 files changed, 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 @@ (defvar notmuch-show-mode-map (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 @@ (defvar notmuch-tree-mode-map (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 @@ (defvar notmuch-search-mode-map (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))) -- 2.29.1 _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org