From 343462edc9cec9e4255b5a0b4cec824d6f0edb4e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 25 Jul 2001 16:24:58 +0000 Subject: (eval-print-last-sexp, eval-defun): Mention the effect of eval-expression-print-length and eval-expression-print-level. Suggested by Kevin Gallagher . --- lisp/emacs-lisp/lisp-mode.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lisp/emacs-lisp/lisp-mode.el') diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index 6e476ab8fcf..062bb7534a2 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -308,7 +308,11 @@ Entry to this mode calls the value of `lisp-interaction-mode-hook' 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, `Edebug: FUNCTION' is printed in the minibuffer. If not 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) -- cgit v1.2.3