summaryrefslogtreecommitdiff
path: root/doc/lispref
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-06-18 00:17:40 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-06-18 00:17:40 +0200
commit0d103e6f79d374766b64e56fb05e440076f4df5c (patch)
treea163870466c2fc922fb4c2157d418a4f1736ce8a /doc/lispref
parentc1370d83cb229c9f3f1b077d1e623b1e9ada6b50 (diff)
downloademacs-0d103e6f79d374766b64e56fb05e440076f4df5c.tar.gz
emacs-0d103e6f79d374766b64e56fb05e440076f4df5c.tar.bz2
emacs-0d103e6f79d374766b64e56fb05e440076f4df5c.zip
Extend 'e' in edebug to pretty-print the values
* doc/lispref/edebug.texi (Edebug Eval): Document it. * lisp/emacs-lisp/edebug.el (edebug-eval-expression): Allow displaying the full value in a different buffer.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/edebug.texi6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi
index 0fc5271d5ad..377cd21da86 100644
--- a/doc/lispref/edebug.texi
+++ b/doc/lispref/edebug.texi
@@ -701,7 +701,11 @@ on this process.
@item e @var{exp} @key{RET}
Evaluate expression @var{exp} in the context outside of Edebug
(@code{edebug-eval-expression}). That is, Edebug tries to minimize
-its interference with the evaluation. By default, this command
+its interference with the evaluation. The result is shown in the echo
+area, or, if this command is given a prefix, pop up a new buffer and
+pretty-print the result there.
+
+By default, this command
suppresses the debugger during evaluation, so that an error in the
evaluated expression won't add a new error on top of the existing one.
Set the @code{debug-allow-recursive-debug} user option to a