diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fbab0a632d1..e64d0948673 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2001-07-25 Eli Zaretskii + + * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-defun): + Mention the effect of eval-expression-print-length and + eval-expression-print-level in the doc strings. Suggested by + Kevin Gallagher . + 2001-07-25 Gerd Moellmann * emacs-lisp/find-func.el (find-function-regexp): Add 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)