aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2001-07-25 16:24:58 +0000
committerEli Zaretskii2001-07-25 16:24:58 +0000
commit343462edc9cec9e4255b5a0b4cec824d6f0edb4e (patch)
tree5ff953627a5af33cb113fb1f5560418624ec4461 /lisp
parent0c9d62f60b52f746792ca079591c844868ca73c5 (diff)
downloademacs-343462edc9cec9e4255b5a0b4cec824d6f0edb4e.tar.gz
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')
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/emacs-lisp/lisp-mode.el10
2 files changed, 15 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fbab0a632d1..e64d0948673 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12001-07-25 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-defun):
4 Mention the effect of eval-expression-print-length and
5 eval-expression-print-level in the doc strings. Suggested by
6 Kevin Gallagher <kevingal@onramp.net>.
7
12001-07-25 Gerd Moellmann <gerd@gnu.org> 82001-07-25 Gerd Moellmann <gerd@gnu.org>
2 9
3 * emacs-lisp/find-func.el (find-function-regexp): Add 10 * 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'
308if that value is non-nil.") 308if that value is non-nil.")
309 309
310(defun eval-print-last-sexp () 310(defun eval-print-last-sexp ()
311 "Evaluate sexp before point; print value into current buffer." 311 "Evaluate sexp before point; print value into current buffer.
312
313Note that printing the result is controlled by the variables
314`eval-expression-print-length' and `eval-expression-print-level',
315which see."
312 (interactive) 316 (interactive)
313 (let ((standard-output (current-buffer))) 317 (let ((standard-output (current-buffer)))
314 (terpri) 318 (terpri)
@@ -467,7 +471,9 @@ instrumented, `Edebug: FUNCTION' is printed in the minibuffer. If not
467instrumented, just FUNCTION is printed. 471instrumented, just FUNCTION is printed.
468 472
469If not acting on a `defun', the result of evaluation is displayed in 473If not acting on a `defun', the result of evaluation is displayed in
470the minibuffer." 474the minibuffer. This display is controlled by the variables
475`eval-expression-print-length' and `eval-expression-print-level',
476which see."
471 (interactive "P") 477 (interactive "P")
472 (cond (edebug-it 478 (cond (edebug-it
473 (require 'edebug) 479 (require 'edebug)