Function: elisp-scope-define-function-analyzer
elisp-scope-define-function-analyzer is a macro defined in
elisp-scope.el.gz.
Signature
(elisp-scope-define-function-analyzer FSYM ARGS &rest BODY)
Documentation
Define an analyzer function for function FSYM.
FSYM is a symbol, or a list of symbols that all share the same analyzer. The analyzer function analyzes occurrences of FSYM as a function call, and it analyzes the arguments in calls to FSYM by executing BODY with ARGS bound to the analyzed arguments.
Probably introduced at or before Emacs version 32.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/elisp-scope.el.gz
(defmacro elisp-scope-define-function-analyzer (fsym args &rest body)
"Define an analyzer function for function FSYM.
FSYM is a symbol, or a list of symbols that all share the same analyzer.
The analyzer function analyzes occurrences of FSYM as a function call,
and it analyzes the arguments in calls to FSYM by executing BODY with
ARGS bound to the analyzed arguments."
(declare (indent defun))
`(elisp-scope--define-function-analyzer ,fsym ,args function ,@body))