emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ca5790e: lisp/progmodes/elisp-mode.el (elisp--eval-


From: Nicolas Richard
Subject: [Emacs-diffs] master ca5790e: lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
Date: Wed, 25 Feb 2015 15:17:26 +0000

branch: master
commit ca5790eb50db4511ecd987559b91f0509ffe61e5
Author: Nicolas Richard <address@hidden>
Commit: Nicolas Richard <address@hidden>

    lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
    
    Fixes: 19932
---
 lisp/ChangeLog               |    4 ++++
 lisp/progmodes/elisp-mode.el |    9 +++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f1dd8db..7f7eac6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-25  Nicolas Richard  <address@hidden>
+
+       * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
+
 2015-02-25  Oleh Krehel  <address@hidden>
 
        * emacs-lisp/check-declare.el (check-declare-warn): Use
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index b2c5fbf..29f1ee9 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."
 
 (defun elisp--eval-last-sexp (eval-last-sexp-arg-internal)
   "Evaluate sexp before point; print value in the echo area.
-With argument, print output into current buffer.
-With a zero prefix arg, print output with no limit on the length
-and level of lists, and include additional formats for integers
-\(octal, hexadecimal, and character)."
+If EVAL-LAST-SEXP-ARG-INTERNAL is non-nil, print output into
+current buffer.  If EVAL-LAST-SEXP-ARG-INTERNAL is `0', print
+output with no limit on the length and level of lists, and
+include additional formats for integers \(octal, hexadecimal, and
+character)."
   (let ((standard-output (if eval-last-sexp-arg-internal (current-buffer) t)))
     ;; Setup the lexical environment if lexical-binding is enabled.
     (elisp--eval-last-sexp-print-value



reply via email to

[Prev in Thread] Current Thread [Next in Thread]