Function: pp-eval-expression
pp-eval-expression is an autoloaded, interactive and byte-compiled
function defined in pp.el.gz.
Signature
(pp-eval-expression EXPRESSION)
Documentation
Evaluate EXPRESSION and pretty-print its value.
Also add the value to the front of the list in the variable values(var)/values(fun).
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/pp.el.gz
;;;###autoload
(defun pp-eval-expression (expression)
"Evaluate EXPRESSION and pretty-print its value.
Also add the value to the front of the list in the variable `values'."
(interactive
(list (read--expression "Eval: ")))
(message "Evaluating...")
(let ((result (eval expression lexical-binding)))
(values--store-value result)
(pp-display-expression result "*Pp Eval Output*" pp-use-max-width)))