emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r116125: Doc fixes related to zero prefix argument o


From: Glenn Morris
Subject: [Emacs-diffs] trunk r116125: Doc fixes related to zero prefix argument of eval-expression etc
Date: Thu, 23 Jan 2014 07:54:07 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 116125
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2014-01-22 23:53:56 -0800
message:
  Doc fixes related to zero prefix argument of eval-expression etc
  
  * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
  * simple.el (eval-expression): Doc fixes.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/emacs-lisp/lisp-mode.el   lispmode.el-20091113204419-o5vbwnq5f7feedwu-205
  lisp/simple.el                 simple.el-20091113204419-o5vbwnq5f7feedwu-403
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-01-22 20:05:03 +0000
+++ b/lisp/ChangeLog    2014-01-23 07:53:56 +0000
@@ -1,3 +1,8 @@
+2014-01-23  Glenn Morris  <address@hidden>
+
+       * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
+       * simple.el (eval-expression): Doc fixes.
+
 2014-01-22  Glenn Morris  <address@hidden>
 
        * emacs-lisp/authors.el (authors-fixed-entries): Addition.

=== modified file 'lisp/emacs-lisp/lisp-mode.el'
--- a/lisp/emacs-lisp/lisp-mode.el      2014-01-03 22:38:55 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el      2014-01-23 07:53:56 +0000
@@ -867,14 +867,15 @@
 (defun eval-print-last-sexp (&optional eval-last-sexp-arg-internal)
   "Evaluate sexp before point; print value into current buffer.
 
+Normally, this function truncates long output according to the value
+of the variables `eval-expression-print-length' and
+`eval-expression-print-level'.  With a prefix argument of zero,
+however, there is no such truncation.  Such a prefix argument
+also causes integers to be printed in several additional formats
+\(octal, hexadecimal, and character).
+
 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.  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)."
+this command arranges for all errors to enter the debugger."
   (interactive "P")
   (let ((standard-output (current-buffer)))
     (terpri)
@@ -1084,10 +1085,12 @@
 (defun eval-last-sexp (eval-last-sexp-arg-internal)
   "Evaluate sexp before point; print value in the echo area.
 Interactively, with prefix argument, print output into current buffer.
-Truncates long output according to the value of the variables
-`eval-expression-print-length' and `eval-expression-print-level'.
-With a zero prefix arg, print output with no limit on the length
-and level of lists, and include additional formats for integers
+
+Normally, this function truncates long output according to the value
+of the variables `eval-expression-print-length' and
+`eval-expression-print-level'.  With a prefix argument of zero,
+however, there is no such truncation.  Such a prefix argument
+also causes integers to be printed in several additional formats
 \(octal, hexadecimal, and character).
 
 If `eval-expression-debug-on-error' is non-nil, which is the default,

=== modified file 'lisp/simple.el'
--- a/lisp/simple.el    2014-01-21 01:58:16 +0000
+++ b/lisp/simple.el    2014-01-23 07:53:56 +0000
@@ -1396,17 +1396,18 @@
 ;; for the sake of completion of names like eval-region, eval-buffer.
 (defun eval-expression (exp &optional insert-value)
   "Evaluate EXP and print value in the echo area.
-When called interactively, read an Emacs Lisp expression and
-evaluate it.
+When called interactively, read an Emacs Lisp expression and evaluate it.
 Value is also consed on to front of the variable `values'.
-Optional argument INSERT-VALUE non-nil (interactively,
-with prefix argument) means insert the result into the current buffer
-instead of printing it in the echo area.  With a zero prefix arg,
-insert the result with no limit on the length and level of lists,
-and include additional formats for integers (octal, hexadecimal,
-and character).  Truncates long output according to the value
-of the variables `eval-expression-print-length'
-and `eval-expression-print-level'.
+Optional argument INSERT-VALUE non-nil (interactively, with prefix
+argument) means insert the result into the current buffer instead of
+printing it in the echo area.
+
+Normally, this function truncates long output according to the value
+of the variables `eval-expression-print-length' and
+`eval-expression-print-level'.  With a prefix argument of zero,
+however, there is no such truncation.  Such a prefix argument
+also causes integers to be printed in several additional formats
+\(octal, hexadecimal, and character).
 
 If `eval-expression-debug-on-error' is non-nil, which is the default,
 this command arranges for all errors to enter the debugger."


reply via email to

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