diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-06 11:57:22 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-10-06 11:57:22 +0200 |
commit | 550745b98b83d94af29c9561d051bb1658efa6af (patch) | |
tree | 9bf84451bbdb045fab705f27aa53af061d3f4578 /lisp/gnus/gnus-undo.el | |
parent | 8e37466efc36dab153a9c784ce1ff41c5a663318 (diff) | |
download | emacs-550745b98b83d94af29c9561d051bb1658efa6af.tar.gz emacs-550745b98b83d94af29c9561d051bb1658efa6af.tar.bz2 emacs-550745b98b83d94af29c9561d051bb1658efa6af.zip |
Finish conversion of Gnus from `gnus-define-keys'
* lisp/gnus/gnus-undo.el (gnus-undo-mode-map):
* lisp/gnus/gnus-salt.el (gnus-pick-mode-map):
(gnus-binary-mode-map):
(gnus-tree-mode-map):
* lisp/gnus/gnus-msg.el (gnus-summary-send-map):
* lisp/gnus/gnus-ml.el (gnus-mailing-list-mode-map):
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-setup):
* lisp/gnus/gnus-art.el (gnus-article-mode-map):
(gnus-article-edit-mode-map): Use `define-keymap' instead of
* `gnus-define-keys'.
Diffstat (limited to 'lisp/gnus/gnus-undo.el')
-rw-r--r-- | lisp/gnus/gnus-undo.el | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/lisp/gnus/gnus-undo.el b/lisp/gnus/gnus-undo.el index 64ed2bbad6b..182c8743e09 100644 --- a/lisp/gnus/gnus-undo.el +++ b/lisp/gnus/gnus-undo.el @@ -75,15 +75,12 @@ ;;; Minor mode definition. -(defvar gnus-undo-mode-map - (let ((map (make-sparse-keymap))) - (gnus-define-keys map - "\M-\C-_" gnus-undo - "\C-_" gnus-undo - "\C-xu" gnus-undo - ;; many people are used to type `C-/' on X terminals and get `C-_'. - [(control /)] gnus-undo) - map)) +(defvar-keymap gnus-undo-mode-map + "\M-\C-_" #'gnus-undo + "\C-_" #'gnus-undo + "\C-xu" #'gnus-undo + ;; many people are used to type `C-/' on X terminals and get `C-_'. + [(control /)] #'gnus-undo) (defun gnus-undo-make-menu-bar () ;; This is disabled for the time being. |