diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-12-03 11:16:41 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-12-03 11:16:41 +0200 |
commit | 3623d5c195dba3a663380e6a40fac3ea5b1cb491 (patch) | |
tree | 83c4bf510af7ada308d9603aa83d9699e6d09a4f /lisp/emacs-lisp | |
parent | 17d40c163e088e25152aedcfb18d733cc8e54756 (diff) | |
download | emacs-3623d5c195dba3a663380e6a40fac3ea5b1cb491.tar.gz emacs-3623d5c195dba3a663380e6a40fac3ea5b1cb491.tar.bz2 emacs-3623d5c195dba3a663380e6a40fac3ea5b1cb491.zip |
Revert "Make easy-mmode-defmap obsolete and adjust only caller"
This reverts commit 8bb5c1bfec0929f2ba419e1c503f5acc01c336c2.
That commit lost too many useful features in the GUD menus
and caused several bugs, the last of them bug#59769.
Do not merge to master.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 7d54a84687b..8de4d8a9c2d 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -725,7 +725,9 @@ The M, BS, and ARGS arguments are as per that function. DOC is the constant's documentation. This macro is deprecated; use `defvar-keymap' instead." - (declare (doc-string 3) (indent 1) (obsolete defvar-keymap "29.1")) + ;; 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)) ,doc)) |