Function: elisp-scope-with-local-definition

elisp-scope-with-local-definition is a macro defined in elisp-scope.el.gz.

Signature

(elisp-scope-with-local-definition SYM AF &rest BODY)

Documentation

Execute BODY with analyzer function AF associated to function/macro SYM.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/elisp-scope.el.gz
(defmacro elisp-scope-with-local-definition (sym af &rest body)
  "Execute BODY with analyzer function AF associated to function/macro SYM."
  (declare (indent 2) (debug t))
  `(let ((elisp-scope-local-definitions
          (cons (cons ,sym ,af) elisp-scope-local-definitions)))
     ,@body))