diff options
| author | Richard M. Stallman | 2006-04-07 23:30:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-04-07 23:30:23 +0000 |
| commit | a8d78e0d70ab14c8723eb9b949a9abaef00f5290 (patch) | |
| tree | a7c5c77d31ac024791281af79d0048faac8967ad | |
| parent | 4f815b29c584c40e693994eb4420407183af278b (diff) | |
| download | emacs-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.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.") | |||
| 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 | ||
| 446 | If `eval-expression-debug-on-error' is non-nil, which is the default, | ||
| 447 | this command arranges for all errors to enter the debugger. | ||
| 448 | |||
| 446 | Note that printing the result is controlled by the variables | 449 | Note 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', |
| 448 | which see." | 451 | which 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. |
| 617 | Interactively, with prefix argument, print output into current buffer." | 620 | Interactively, with prefix argument, print output into current buffer. |
| 621 | |||
| 622 | If `eval-expression-debug-on-error' is non-nil, which is the default, | ||
| 623 | this 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 |
| 723 | already is one.) | 729 | already is one.) |
| 724 | 730 | ||
| 731 | If `eval-expression-debug-on-error' is non-nil, which is the default, | ||
| 732 | this command arranges for all errors to enter the debugger. | ||
| 733 | |||
| 725 | With a prefix argument, instrument the code for Edebug. | 734 | With a prefix argument, instrument the code for Edebug. |
| 726 | 735 | ||
| 727 | If acting on a `defun' for FUNCTION, and the function was | 736 | If acting on a `defun' for FUNCTION, and the function was |