Function: macroexp--dynamic-variable-p

macroexp--dynamic-variable-p is a byte-compiled function defined in macroexp.el.gz.

Signature

(macroexp--dynamic-variable-p VAR)

Documentation

Whether the variable VAR is dynamically scoped.

Only valid during macro-expansion.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/macroexp.el.gz
(defun macroexp--dynamic-variable-p (var)
  "Whether the variable VAR is dynamically scoped.
Only valid during macro-expansion."
  (defvar byte-compile-bound-variables)
  (or (not lexical-binding)
      (special-variable-p var)
      (memq var macroexp--dynvars)
      (and (boundp 'byte-compile-bound-variables)
           (memq var byte-compile-bound-variables))))