Function: elisp-scope-safe-macro-p
elisp-scope-safe-macro-p is a byte-compiled function defined in
elisp-scope.el.gz.
Signature
(elisp-scope-safe-macro-p MACRO)
Documentation
Check whether it is safe to expand MACRO, return non-nil iff so.
If MACRO is one of the macros in elisp-scope-unsafe-macros, then it is
never considered safe. Otherwise, MACRO is safe if it specified in
elisp-scope-safe-macros, or if it has a non-nil safe-macro symbol
property, or if the current buffer is trusted (see trusted-content-p).
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/elisp-scope.el.gz
(defun elisp-scope-safe-macro-p (macro)
"Check whether it is safe to expand MACRO, return non-nil iff so.
If MACRO is one of the macros in `elisp-scope-unsafe-macros', then it is
never considered safe. Otherwise, MACRO is safe if it specified in
`elisp-scope-safe-macros', or if it has a non-nil `safe-macro' symbol
property, or if the current buffer is trusted (see `trusted-content-p')."
(and (not (memq macro elisp-scope-unsafe-macros))
(or (eq elisp-scope-safe-macros t)
(memq macro elisp-scope-safe-macros)
(get macro 'safe-macro)
(trusted-content-p))))