aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-04-07 23:30:23 +0000
committerRichard M. Stallman2006-04-07 23:30:23 +0000
commita8d78e0d70ab14c8723eb9b949a9abaef00f5290 (patch)
treea7c5c77d31ac024791281af79d0048faac8967ad
parent4f815b29c584c40e693994eb4420407183af278b (diff)
downloademacs-a8d78e0d70ab14c8723eb9b949a9abaef00f5290.tar.gz
emacs-a8d78e0d70ab14c8723eb9b949a9abaef00f5290.zip
(eval-print-last-sexp, eval-last-sexp, eval-defun): Doc fixes.
-rw-r--r--lisp/emacs-lisp/lisp-mode.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 84841aea97b..d5588f3811f 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -443,6 +443,9 @@ if that value is non-nil.")
443(defun eval-print-last-sexp () 443(defun eval-print-last-sexp ()
444 "Evaluate sexp before point; print value into current buffer. 444 "Evaluate sexp before point; print value into current buffer.
445 445
446If `eval-expression-debug-on-error' is non-nil, which is the default,
447this command arranges for all errors to enter the debugger.
448
446Note that printing the result is controlled by the variables 449Note that printing the result is controlled by the variables
447`eval-expression-print-length' and `eval-expression-print-level', 450`eval-expression-print-length' and `eval-expression-print-level',
448which see." 451which see."
@@ -614,7 +617,10 @@ With argument, print output into current buffer."
614 617
615(defun eval-last-sexp (eval-last-sexp-arg-internal) 618(defun eval-last-sexp (eval-last-sexp-arg-internal)
616 "Evaluate sexp before point; print value in minibuffer. 619 "Evaluate sexp before point; print value in minibuffer.
617Interactively, with prefix argument, print output into current buffer." 620Interactively, with prefix argument, print output into current buffer.
621
622If `eval-expression-debug-on-error' is non-nil, which is the default,
623this command arranges for all errors to enter the debugger."
618 (interactive "P") 624 (interactive "P")
619 (if (null eval-expression-debug-on-error) 625 (if (null eval-expression-debug-on-error)
620 (eval-last-sexp-1 eval-last-sexp-arg-internal) 626 (eval-last-sexp-1 eval-last-sexp-arg-internal)
@@ -722,6 +728,9 @@ expression even if the variable already has some other value.
722\(Normally `defvar' and `defcustom' do not alter the value if there 728\(Normally `defvar' and `defcustom' do not alter the value if there
723already is one.) 729already is one.)
724 730
731If `eval-expression-debug-on-error' is non-nil, which is the default,
732this command arranges for all errors to enter the debugger.
733
725With a prefix argument, instrument the code for Edebug. 734With a prefix argument, instrument the code for Edebug.
726 735
727If acting on a `defun' for FUNCTION, and the function was 736If acting on a `defun' for FUNCTION, and the function was