Function: macroexpand--all-toplevel

macroexpand--all-toplevel is a byte-compiled function defined in macroexp.el.gz.

Signature

(macroexpand--all-toplevel FORM &optional ENVIRONMENT)

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/macroexp.el.gz
;; This function is like `macroexpand-all' but for use with top-level
;; forms.  It does not dynbind `macroexp--dynvars' because we want
;; top-level `defvar' declarations to be recorded in that variable.
(defun macroexpand--all-toplevel (form &optional environment)
  (let ((macroexpand-all-environment environment))
    (macroexp--expand-all form)))