aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorNicolas Richard2015-02-25 13:07:43 +0100
committerNicolas Richard2015-02-25 16:17:54 +0100
commitca5790eb50db4511ecd987559b91f0509ffe61e5 (patch)
treef39b13b14297d2b0ed984f26552e18a8899df678 /lisp
parent383722dee79aee1dd0b9def6a2af6649b26f5687 (diff)
downloademacs-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/ChangeLog4
-rw-r--r--lisp/progmodes/elisp-mode.el9
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 @@
12015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2
3 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
4
12015-02-25 Oleh Krehel <ohwoeowho@gmail.com> 52015-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.
886With argument, print output into current buffer. 886If EVAL-LAST-SEXP-ARG-INTERNAL is non-nil, print output into
887With a zero prefix arg, print output with no limit on the length 887current buffer. If EVAL-LAST-SEXP-ARG-INTERNAL is `0', print
888and level of lists, and include additional formats for integers 888output with no limit on the length and level of lists, and
889\(octal, hexadecimal, and character)." 889include additional formats for integers \(octal, hexadecimal, and
890character)."
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