# HG changeset patch # User Eli Zaretskii # Date 996078206 0 # Node ID df8cff64f0f310a786ef97c59565a300afb497bd # Parent 202a8b23545687431d6f4c124a5485d99b1b4363 (eval-print-last-sexp, eval-defun): Mention the effect of eval-expression-print-length and eval-expression-print-level. Suggested by Kevin Gallagher . diff -r 202a8b235456 -r df8cff64f0f3 lisp/emacs-lisp/lisp-mode.el --- a/lisp/emacs-lisp/lisp-mode.el Wed Jul 25 15:49:09 2001 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Wed Jul 25 16:23:26 2001 +0000 @@ -308,7 +308,11 @@ if that value is non-nil.") (defun eval-print-last-sexp () - "Evaluate sexp before point; print value into current buffer." + "Evaluate sexp before point; print value into current buffer. + +Note that printing the result is controlled by the variables +`eval-expression-print-length' and `eval-expression-print-level', +which see." (interactive) (let ((standard-output (current-buffer))) (terpri) @@ -467,7 +471,9 @@ instrumented, just FUNCTION is printed. If not acting on a `defun', the result of evaluation is displayed in -the minibuffer." +the minibuffer. This display is controlled by the variables +`eval-expression-print-length' and `eval-expression-print-level', +which see." (interactive "P") (cond (edebug-it (require 'edebug)