Function: declare

declare is a macro defined in subr.el.gz.

Signature

(declare &rest SPECS)

Documentation

Do not evaluate any arguments, and return nil.

If a declare form appears as the first form in the body of a defun or defmacro form, SPECS specifies various additional information about the function or macro; these go into effect during the evaluation of the defun or defmacro form.

The possible values of SPECS are specified by defun-declarations-alist and macro-declarations-alist.

For more information, see info node (elisp)Declare Form.

This macro has :after advice: cl--pass-args-to-cl-declare.

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defmacro declare (&rest _specs)
  "Do not evaluate any arguments, and return nil.
If a `declare' form appears as the first form in the body of a
`defun' or `defmacro' form, SPECS specifies various additional
information about the function or macro; these go into effect
during the evaluation of the `defun' or `defmacro' form.

The possible values of SPECS are specified by
`defun-declarations-alist' and `macro-declarations-alist'.

For more information, see info node `(elisp)Declare Form'."
  ;; FIXME: edebug spec should pay attention to defun-declarations-alist.
  nil)