diff options
| author | Nicolas Richard | 2015-02-25 13:07:43 +0100 |
|---|---|---|
| committer | Nicolas Richard | 2015-02-25 16:17:54 +0100 |
| commit | ca5790eb50db4511ecd987559b91f0509ffe61e5 (patch) | |
| tree | f39b13b14297d2b0ed984f26552e18a8899df678 /lisp | |
| parent | 383722dee79aee1dd0b9def6a2af6649b26f5687 (diff) | |
| download | emacs-ca5790eb50db4511ecd987559b91f0509ffe61e5.tar.gz emacs-ca5790eb50db4511ecd987559b91f0509ffe61e5.zip | |
lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
Fixes: 19932
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/elisp-mode.el | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f1dd8db5298..7f7eac64b6e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr> | ||
| 2 | |||
| 3 | * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument. | ||
| 4 | |||
| 1 | 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com> | 5 | 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com> |
| 2 | 6 | ||
| 3 | * emacs-lisp/check-declare.el (check-declare-warn): Use | 7 | * emacs-lisp/check-declare.el (check-declare-warn): Use |
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index b2c5fbfe60e..29f1ee9a98c 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el | |||
| @@ -883,10 +883,11 @@ If CHAR is not a character, return nil." | |||
| 883 | 883 | ||
| 884 | (defun elisp--eval-last-sexp (eval-last-sexp-arg-internal) | 884 | (defun elisp--eval-last-sexp (eval-last-sexp-arg-internal) |
| 885 | "Evaluate sexp before point; print value in the echo area. | 885 | "Evaluate sexp before point; print value in the echo area. |
| 886 | With argument, print output into current buffer. | 886 | If EVAL-LAST-SEXP-ARG-INTERNAL is non-nil, print output into |
| 887 | With a zero prefix arg, print output with no limit on the length | 887 | current buffer. If EVAL-LAST-SEXP-ARG-INTERNAL is `0', print |
| 888 | and level of lists, and include additional formats for integers | 888 | output with no limit on the length and level of lists, and |
| 889 | \(octal, hexadecimal, and character)." | 889 | include additional formats for integers \(octal, hexadecimal, and |
| 890 | character)." | ||
| 890 | (let ((standard-output (if eval-last-sexp-arg-internal (current-buffer) t))) | 891 | (let ((standard-output (if eval-last-sexp-arg-internal (current-buffer) t))) |
| 891 | ;; Setup the lexical environment if lexical-binding is enabled. | 892 | ;; Setup the lexical environment if lexical-binding is enabled. |
| 892 | (elisp--eval-last-sexp-print-value | 893 | (elisp--eval-last-sexp-print-value |