From f37e8c7718ba3b03a8f2cba59b7f9b36347b1c47 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 25 Jul 2001 16:25:47 +0000 Subject: [PATCH] Mention the effect of eval-expression-print-length and eval-expression-print-level. --- etc/NEWS | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 71b5eba19d4..7c9d68d6e36 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1140,10 +1140,19 @@ file. *** The commands to evaluate Lisp expressions, such as C-M-x in Lisp modes, C-j in Lisp Interaction mode, and M-:, now bind the variables -print-level, print-length, and debug-on-error based on the +print-level, print-length, and debug-on-error based on the new customizable variables eval-expression-print-level, eval-expression-print-length, and eval-expression-debug-on-error. +The default values for the first two of these variables are 12 and 4 +respectively, which means that `eval-expression' now prints at most +the first 12 members of a list and at most 4 nesting levels deep (if +the list is longer or deeper than that, an ellipsis `...' is +printed). + +The default value of eval-expression-debug-on-error is t, so any error +during evaluation produces a backtrace. + *** The function `eval-defun' (M-C-x) now loads Edebug and instruments code when called with a prefix argument. -- 2.39.5