diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-01-13 23:16:16 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-01-13 23:24:25 +0100 |
commit | 53dba3202205b5fab078a47da77be4140b7f93b1 (patch) | |
tree | aa06442e478361cb81dbfbf1f22f20f943f74f47 /lisp/emacs-lisp/easy-mmode.el | |
parent | fbffe2cc30ffd92872628a6dba2684296b535b9e (diff) | |
download | emacs-53dba3202205b5fab078a47da77be4140b7f93b1.tar.gz |
Prefer defvar-keymap to easy-mmode-defmap
* lisp/progmodes/gud.el (gud-minibuffer-local-map):
* lisp/vc/pcvs-info.el (cvs-status-map): Use defvar-keymap.
* lisp/emacs-lisp/easy-mmode.el (easy-mmode-defmap): Document as
deprecated.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
-rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index cf3ea8c3ddf..688c76e0c54 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -696,7 +696,11 @@ Valid keywords and arguments are: (defmacro easy-mmode-defmap (m bs doc &rest args) "Define a constant M whose value is the result of `easy-mmode-define-keymap'. The M, BS, and ARGS arguments are as per that function. DOC is -the constant's documentation." +the constant's documentation. + +This macro is deprecated; use `defvar-keymap' instead." + ;; FIXME: Declare obsolete in favor of `defvar-keymap'. It is still + ;; used for `gud-menu-map' and `gud-minor-mode-map', so fix that first. (declare (doc-string 3) (indent 1)) `(defconst ,m (easy-mmode-define-keymap ,bs nil (if (boundp ',m) ,m) ,(cons 'list args)) |