Function: embark-pp-eval-defun

embark-pp-eval-defun is an interactive and byte-compiled function defined in embark.el.

Signature

(embark-pp-eval-defun EDEBUG)

Documentation

Run eval-defun and pretty print the result.

With a prefix argument EDEBUG, instrument the code for debugging.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark-pp-eval-defun (edebug)
  "Run `eval-defun' and pretty print the result.
With a prefix argument EDEBUG, instrument the code for debugging."
  (interactive "P")
  (cl-letf (((symbol-function #'eval-expression-print-format)
             (lambda (result)
               (pp-display-expression result "*Pp Eval Output*"))))
    (eval-defun edebug)))