Function: embark-pp-eval-defun
embark-pp-eval-defun is an interactive and natively 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
embark-defun-map RET embark-defun-map e
Source Code
;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/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)))