mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
emacs: don't fset keymaps
These keymaps are never invoked as commands so the function definitions serve no purpose.
This commit is contained in:
parent
b9f328b75d
commit
05a436f730
3 changed files with 0 additions and 3 deletions
|
@ -1485,7 +1485,6 @@ reset based on the original query."
|
||||||
(define-key map "B" 'notmuch-show-browse-urls)
|
(define-key map "B" 'notmuch-show-browse-urls)
|
||||||
map)
|
map)
|
||||||
"Keymap for \"notmuch show\" buffers.")
|
"Keymap for \"notmuch show\" buffers.")
|
||||||
(fset 'notmuch-show-mode-map notmuch-show-mode-map)
|
|
||||||
|
|
||||||
(define-derived-mode notmuch-show-mode fundamental-mode "notmuch-show"
|
(define-derived-mode notmuch-show-mode fundamental-mode "notmuch-show"
|
||||||
"Major mode for viewing a thread with notmuch.
|
"Major mode for viewing a thread with notmuch.
|
||||||
|
|
|
@ -361,7 +361,6 @@ FUNC."
|
||||||
(define-key map "e" 'notmuch-tree-resume-message)
|
(define-key map "e" 'notmuch-tree-resume-message)
|
||||||
map)
|
map)
|
||||||
"Keymap for \"notmuch tree\" buffers.")
|
"Keymap for \"notmuch tree\" buffers.")
|
||||||
(fset 'notmuch-tree-mode-map notmuch-tree-mode-map)
|
|
||||||
|
|
||||||
(defun notmuch-tree-get-message-properties ()
|
(defun notmuch-tree-get-message-properties ()
|
||||||
"Return the properties of the current message as a plist.
|
"Return the properties of the current message as a plist.
|
||||||
|
|
|
@ -194,7 +194,6 @@ there will be called at other points of notmuch execution."
|
||||||
(define-key map "U" 'notmuch-unthreaded-from-search-current-query)
|
(define-key map "U" 'notmuch-unthreaded-from-search-current-query)
|
||||||
map)
|
map)
|
||||||
"Keymap for \"notmuch search\" buffers.")
|
"Keymap for \"notmuch search\" buffers.")
|
||||||
(fset 'notmuch-search-mode-map notmuch-search-mode-map)
|
|
||||||
|
|
||||||
(defvar notmuch-search-stash-map
|
(defvar notmuch-search-stash-map
|
||||||
(let ((map (make-sparse-keymap)))
|
(let ((map (make-sparse-keymap)))
|
||||||
|
|
Loading…
Reference in a new issue