From: Stefan Kangas <stefankangas@gmail.com>
Date: Sun, 6 Aug 2023 09:19:27 +0000 (+0200)
Subject: Mark unused macro defun-gmm obsolete
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=67650c9c11a0afe33e2a27a8669b6925a6606212;p=emacs.git

Mark unused macro defun-gmm obsolete

* lisp/gnus/gmm-utils.el (defun-gmm): Mark as obsolete.
---

diff --git a/lisp/gnus/gmm-utils.el b/lisp/gnus/gmm-utils.el
index 2fc89681ba5..c0651e3dbfc 100644
--- a/lisp/gnus/gmm-utils.el
+++ b/lisp/gnus/gmm-utils.el
@@ -200,7 +200,8 @@ DEFAULT-MAP specifies the default key map for ICON-LIST."
   "Create function NAME.
 If FUNCTION exists, then NAME becomes an alias for FUNCTION.
 Otherwise, create function NAME with ARG-LIST and BODY."
-  (declare (indent defun))
+  (declare (obsolete nil "30.1")
+           (indent defun))
   (let ((defined-p (fboundp function)))
     (if defined-p
         `(defalias ',name ',function)