summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2025-02-24 22:21:46 +0100
committerStefan Kangas <stefankangas@gmail.com>2025-02-24 22:21:46 +0100
commit7d5fe06e79defb0669ef2ba34d644e0836e54a38 (patch)
tree914e5619599a08cdc8bca6f552ae69e8825bc38d /lisp/emacs-lisp
parentc9e681aa0c75feaf1c0a5495b0d475698cbdb653 (diff)
downloademacs-7d5fe06e79defb0669ef2ba34d644e0836e54a38.tar.gz
emacs-7d5fe06e79defb0669ef2ba34d644e0836e54a38.tar.bz2
emacs-7d5fe06e79defb0669ef2ba34d644e0836e54a38.zip
Make cl-declare obsolete
* lisp/emacs-lisp/cl-macs.el (cl-declare): Make obsolete. * doc/misc/cl.texi (Declarations): Don't document above obsolete macro. (Bug#63288)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/cl-macs.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 1578603cedd..dbaa0d9bcb8 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -2728,6 +2728,7 @@ For instance
will turn off byte-compile warnings in the function.
See Info node `(cl)Declarations' for details."
+ (declare (obsolete defvar "31.1"))
(if (macroexp-compiling-p)
(while specs
(if (listp cl--declare-stack) (push (car specs) cl--declare-stack))