1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

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)
This commit is contained in:
Stefan Kangas 2025-02-24 22:21:46 +01:00
parent c9e681aa0c
commit 7d5fe06e79
3 changed files with 9 additions and 29 deletions

View file

@ -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))