diff options
author | Richard M. Stallman <rms@gnu.org> | 2006-04-07 23:30:23 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2006-04-07 23:30:23 +0000 |
commit | a8d78e0d70ab14c8723eb9b949a9abaef00f5290 (patch) | |
tree | a7c5c77d31ac024791281af79d0048faac8967ad /lisp/emacs-lisp/lisp-mode.el | |
parent | 4f815b29c584c40e693994eb4420407183af278b (diff) | |
download | emacs-a8d78e0d70ab14c8723eb9b949a9abaef00f5290.tar.gz emacs-a8d78e0d70ab14c8723eb9b949a9abaef00f5290.tar.bz2 emacs-a8d78e0d70ab14c8723eb9b949a9abaef00f5290.zip |
(eval-print-last-sexp, eval-last-sexp, eval-defun): Doc fixes.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
-rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 11 |
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.") (defun eval-print-last-sexp () "Evaluate sexp before point; print value into current buffer. +If `eval-expression-debug-on-error' is non-nil, which is the default, +this command arranges for all errors to enter the debugger. + Note that printing the result is controlled by the variables `eval-expression-print-length' and `eval-expression-print-level', which see." @@ -614,7 +617,10 @@ With argument, print output into current buffer." (defun eval-last-sexp (eval-last-sexp-arg-internal) "Evaluate sexp before point; print value in minibuffer. -Interactively, with prefix argument, print output into current buffer." +Interactively, with prefix argument, print output into current buffer. + +If `eval-expression-debug-on-error' is non-nil, which is the default, +this command arranges for all errors to enter the debugger." (interactive "P") (if (null eval-expression-debug-on-error) (eval-last-sexp-1 eval-last-sexp-arg-internal) @@ -722,6 +728,9 @@ expression even if the variable already has some other value. \(Normally `defvar' and `defcustom' do not alter the value if there already is one.) +If `eval-expression-debug-on-error' is non-nil, which is the default, +this command arranges for all errors to enter the debugger. + With a prefix argument, instrument the code for Edebug. If acting on a `defun' for FUNCTION, and the function was |