From 641ef36403b2d485bb4f500a7a6de33b6da7642c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 3 Dec 2022 11:32:00 +0200 Subject: [PATCH] Fix gud-minor-mode-menu * lisp/emacs-lisp/easy-mmode.el (define-minor-mode) (easy-mmode-define-keymap): Don't declare obsolete, since we are still using it in gud.el. (Bug#59769) (Bug#59605) Do not merge to master. --- lisp/emacs-lisp/easy-mmode.el | 3 --- 1 file changed, 3 deletions(-) diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 8de4d8a9c2d..2df390ecbeb 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -417,8 +417,6 @@ No problems result if this variable is not bound. `(defvar ,keymap-sym (let ((m ,keymap)) (cond ((keymapp m) m) - ;; FIXME: `easy-mmode-define-keymap' is obsolete, - ;; so this form should also be obsolete somehow. ((listp m) (with-suppressed-warnings ((obsolete easy-mmode-define-keymap)) @@ -684,7 +682,6 @@ Valid keywords and arguments are: :group Ignored. :suppress Non-nil to call `suppress-keymap' on keymap, `nodigits' to suppress digits as prefix arguments." - (declare (obsolete define-keymap "29.1")) (let (inherit dense suppress) (while args (let ((key (pop args)) -- 2.39.2