summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-ml.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-10-06 11:57:22 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-10-06 11:57:22 +0200
commit550745b98b83d94af29c9561d051bb1658efa6af (patch)
tree9bf84451bbdb045fab705f27aa53af061d3f4578 /lisp/gnus/gnus-ml.el
parent8e37466efc36dab153a9c784ce1ff41c5a663318 (diff)
downloademacs-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-ml.el')
-rw-r--r--lisp/gnus/gnus-ml.el17
1 files changed, 7 insertions, 10 deletions
diff --git a/lisp/gnus/gnus-ml.el b/lisp/gnus/gnus-ml.el
index ee3abf2f7be..bf33194cf75 100644
--- a/lisp/gnus/gnus-ml.el
+++ b/lisp/gnus/gnus-ml.el
@@ -31,16 +31,13 @@
;;; Mailing list minor mode
-(defvar gnus-mailing-list-mode-map
- (let ((map (make-sparse-keymap)))
- (gnus-define-keys map
- "\C-c\C-nh" gnus-mailing-list-help
- "\C-c\C-ns" gnus-mailing-list-subscribe
- "\C-c\C-nu" gnus-mailing-list-unsubscribe
- "\C-c\C-np" gnus-mailing-list-post
- "\C-c\C-no" gnus-mailing-list-owner
- "\C-c\C-na" gnus-mailing-list-archive)
- map))
+(defvar-keymap gnus-mailing-list-mode-map
+ "\C-c\C-nh" #'gnus-mailing-list-help
+ "\C-c\C-ns" #'gnus-mailing-list-subscribe
+ "\C-c\C-nu" #'gnus-mailing-list-unsubscribe
+ "\C-c\C-np" #'gnus-mailing-list-post
+ "\C-c\C-no" #'gnus-mailing-list-owner
+ "\C-c\C-na" #'gnus-mailing-list-archive)
(defvar gnus-mailing-list-menu)