diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-07-20 09:27:10 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-07-20 09:27:30 +0200 |
commit | 32db1682903a3a6a59f81426ab699531f08acd2f (patch) | |
tree | 8cde94a89215154076fdb96b1d0a7398d53910b1 /lisp/mh-e | |
parent | ffd38a9911bf7515e5dc846e4d03c8153ffe1189 (diff) | |
download | emacs-32db1682903a3a6a59f81426ab699531f08acd2f.tar.gz emacs-32db1682903a3a6a59f81426ab699531f08acd2f.tar.bz2 emacs-32db1682903a3a6a59f81426ab699531f08acd2f.zip |
Prefer defvar-keymap in some trivial cases
* lisp/calendar/diary-lib.el (diary-fancy-overriding-map):
* lisp/emacs-lisp/chart.el (chart-mode-map):
* lisp/emulation/cua-base.el (cua-global-keymap)
(cua--cua-keys-keymap, cua--prefix-override-keymap)
(cua--prefix-repeat-keymap, cua--global-mark-keymap)
(cua--rectangle-keymap, cua--region-keymap):
* lisp/emulation/viper-keym.el (viper-vi-intercept-map)
(viper-insert-intercept-map, viper-emacs-intercept-map)
(viper-vi-global-user-map, viper-vi-basic-map, viper-vi-kbd-map)
(viper-vi-diehard-map, viper-insert-global-user-map)
(viper-insert-basic-map, viper-insert-diehard-map)
(viper-insert-kbd-map, viper-replace-map)
(viper-emacs-global-user-map, viper-emacs-kbd-map)
(viper-empty-keymap, viper-mode-map, viper-minibuffer-map)
(viper-ex-cmd-map, ex-read-filename-map)
(viper-slash-and-colon-map, viper-comint-mode-modifier-map)
(viper-dired-modifier-map, viper-gnus-modifier-map):
* lisp/gnus/gnus-sum.el (gnus-summary-generic-mark-map):
* lisp/menu-bar.el (global-buffers-menu-map)
(menu-bar-preferences-menu):
* lisp/mh-e/mh-e.el (mh-folder-mode-map, mh-inc-spool-map)
(mh-search-mode-map, mh-show-mode-map):
* lisp/play/dunnet.el (dungeon-batch-map):
* lisp/progmodes/autoconf.el (autoconf-mode-map):
* lisp/tool-bar.el (tool-bar-map):
* lisp/vc/ediff-help.el (ediff-help-region-map):
* lisp/vc/ediff-hook.el (menu-bar-epatch-menu)
(menu-bar-ediff-merge-menu, menu-bar-ediff-menu):
* lisp/windmove.el (windmove-mode-map):
* lisp/xwidget.el (xwidget-webkit-isearch-mode-map)
(xwidget-webkit-edit-mode-map): Prefer defvar-keymap.
Diffstat (limited to 'lisp/mh-e')
-rw-r--r-- | lisp/mh-e/mh-e.el | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lisp/mh-e/mh-e.el b/lisp/mh-e/mh-e.el index 872f0d79d29..a3a363e33ff 100644 --- a/lisp/mh-e/mh-e.el +++ b/lisp/mh-e/mh-e.el @@ -163,8 +163,9 @@ User's mail folder directory.") ;; Maps declared here so that they can be used in docstrings. -(defvar mh-folder-mode-map (make-keymap) - "Keymap for MH-Folder mode.") +(defvar-keymap mh-folder-mode-map + :doc "Keymap for MH-Folder mode." + :full t) (defvar mh-folder-seq-tool-bar-map nil "Keymap for MH-Folder tool bar.") @@ -172,8 +173,8 @@ User's mail folder directory.") (defvar mh-folder-tool-bar-map nil "Keymap for MH-Folder tool bar.") -(defvar mh-inc-spool-map (make-sparse-keymap) - "Keymap for MH-E's mh-inc-spool commands.") +(defvar-keymap mh-inc-spool-map + :doc "Keymap for MH-E's mh-inc-spool commands.") (defvar mh-letter-mode-map (copy-keymap text-mode-map) "Keymap for MH-Letter mode.") @@ -181,11 +182,11 @@ User's mail folder directory.") (defvar mh-letter-tool-bar-map nil "Keymap for MH-Letter tool bar.") -(defvar mh-search-mode-map (make-sparse-keymap) - "Keymap for MH-Search mode.") +(defvar-keymap mh-search-mode-map + :doc "Keymap for MH-Search mode.") -(defvar mh-show-mode-map (make-sparse-keymap) - "Keymap MH-Show mode.") +(defvar-keymap mh-show-mode-map + :doc "Keymap for MH-Show mode.") (defvar mh-show-seq-tool-bar-map nil "Keymap for MH-Show tool bar.") |