Function: cl-declare

cl-declare is an autoloaded macro defined in cl-macs.el.gz.

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.

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."
  (if (macroexp-compiling-p)
      (while specs
	(if (listp cl--declare-stack) (push (car specs) cl--declare-stack))
	(cl--do-proclaim (pop specs) nil)))
  nil)