Function: cl-prettyexpand

cl-prettyexpand is an autoloaded and byte-compiled function defined in cl-extra.el.gz.

Signature

(cl-prettyexpand FORM)

Documentation

Expand macros in FORM and insert the pretty-printed result.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-extra.el.gz
;;;###autoload
(defun cl-prettyexpand (form &optional _full)
  "Expand macros in FORM and insert the pretty-printed result."
  (declare (advertised-calling-convention (form) "27.1"))
  (message "Expanding...")
  (setq form (macroexpand-all form))
  (message "Formatting...")
  (prog1
      (cl-prettyprint form)
    (message "")))