diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-07-25 16:24:58 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-07-25 16:24:58 +0000 |
commit | 343462edc9cec9e4255b5a0b4cec824d6f0edb4e (patch) | |
tree | 5ff953627a5af33cb113fb1f5560418624ec4461 /lisp/emacs-lisp | |
parent | 0c9d62f60b52f746792ca079591c844868ca73c5 (diff) | |
download | emacs-343462edc9cec9e4255b5a0b4cec824d6f0edb4e.tar.gz emacs-343462edc9cec9e4255b5a0b4cec824d6f0edb4e.tar.bz2 emacs-343462edc9cec9e4255b5a0b4cec824d6f0edb4e.zip |
(eval-print-last-sexp, eval-defun):
Mention the effect of eval-expression-print-length and
eval-expression-print-level. Suggested by Kevin Gallagher
<kevingal@onramp.net>.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 10 |
1 files changed, 8 insertions, 2 deletions
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) |