From: Eli Zaretskii Date: Wed, 25 Jul 2001 16:25:47 +0000 (+0000) Subject: Mention the effect of eval-expression-print-length and X-Git-Tag: emacs-pretest-21.0.105~388 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f37e8c7718ba3b03a8f2cba59b7f9b36347b1c47;p=emacs.git Mention the effect of eval-expression-print-length and eval-expression-print-level. --- 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.