Variable: elisp-scope-safe-macros
elisp-scope-safe-macros is a customizable variable defined in
elisp-scope.el.gz.
Value
nil
Documentation
Specify which macros are safe to expand during code analysis.
If this is t, macros are considered safe by default. Otherwise, this is a (possibly empty) list of safe macros; nil means no macros are safe.
Some macros are never safe, see elisp-scope-safe-macro-p for details.
Note that this option only affects analysis of untrusted code, for trusted code macro expansion is always safe.
This variable was added, or its default value changed, in Emacs 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/elisp-scope.el.gz
(defcustom elisp-scope-safe-macros nil
"Specify which macros are safe to expand during code analysis.
If this is t, macros are considered safe by default. Otherwise, this is
a (possibly empty) list of safe macros; nil means no macros are safe.
Some macros are never safe, see `elisp-scope-safe-macro-p' for details.
Note that this option only affects analysis of untrusted code, for
trusted code macro expansion is always safe."
:type '(choice (const :tag "Trust all macros" t)
(repeat :tag "Trust these macros" symbol))
:version "31.1"
:group 'lisp)