Function: cl-declare
cl-declare is an autoloaded macro defined in cl-macs.el.gz.
This macro is obsolete since 31.1; use defvar instead.
Signature
(cl-declare &rest SPECS)
Documentation
Declare SPECS about the current function while compiling.
For instance
(cl-declare (warn 0))
will turn off byte-compile warnings in the function. See Info node (cl)Declarations for details.
Probably introduced at or before Emacs version 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-macs.el.gz
;;;###autoload
(defmacro cl-declare (&rest specs)
"Declare SPECS about the current function while compiling.
For instance
(cl-declare (warn 0))
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))
(cl--do-proclaim (pop specs) nil)))
nil)