aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2014-01-23 00:27:44 -0800
committerGlenn Morris2014-01-23 00:27:44 -0800
commitc51e81ef55fb15dbf66889519e0eaa3be988c425 (patch)
tree96928d08a75289abb414e969eb94ee1d7e002258 /doc
parent4a3c72703e6437ec67f3e7c2f73ad7980e29aa6a (diff)
downloademacs-c51e81ef55fb15dbf66889519e0eaa3be988c425.tar.gz
emacs-c51e81ef55fb15dbf66889519e0eaa3be988c425.zip
* doc/emacs/building.texi (Lisp Eval): Update prefix argument behavior
of eval-expression, eval-last-sexp. * etc/NEWS: Related edit.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/building.texi20
2 files changed, 18 insertions, 7 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 3a8b45be372..c10f3e073a0 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12014-01-23 Glenn Morris <rgm@gnu.org>
2
3 * building.texi (Lisp Eval): Update prefix argument behavior
4 of eval-expression, eval-last-sexp.
5
12014-01-17 Bastien Guerry <bzg@gnu.org> 62014-01-17 Bastien Guerry <bzg@gnu.org>
2 7
3 * building.texi (Commands of GUD): Fix keybinding for `gud-break'. 8 * building.texi (Commands of GUD): Fix keybinding for `gud-break'.
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index c98b536a381..a0ef9e80c8d 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -1476,13 +1476,17 @@ expression.)
1476 The command @kbd{C-x C-e} (@code{eval-last-sexp}) evaluates the 1476 The command @kbd{C-x C-e} (@code{eval-last-sexp}) evaluates the
1477Emacs Lisp expression preceding point in the buffer, and displays the 1477Emacs Lisp expression preceding point in the buffer, and displays the
1478value in the echo area. When the result of an evaluation is an 1478value in the echo area. When the result of an evaluation is an
1479integer, you can type @kbd{C-x C-e} a second time to display the value 1479integer, it is displayed together with the value in other formats
1480of the integer result in additional formats (octal, hexadecimal, and 1480(octal, hexadecimal, and character).
1481character).
1482 1481
1483 If @kbd{M-:} or @kbd{C-x C-e} is given a prefix argument, it inserts 1482 If @kbd{M-:} or @kbd{C-x C-e} is given a prefix argument, it inserts
1484the value into the current buffer at point, rather than displaying it 1483the value into the current buffer at point, rather than displaying it
1485in the echo area. The argument's value does not matter. 1484in the echo area. If the prefix argument is zero, any integer output
1485is inserted together with its value in other formats (octal,
1486hexadecimal, and character). Such a prefix argument also prevents
1487abbreviation of the output according to the variables
1488@code{eval-expression-print-level} and @code{eval-expression-print-length}
1489(see below).
1486 1490
1487@kindex C-M-x @r{(Emacs Lisp mode)} 1491@kindex C-M-x @r{(Emacs Lisp mode)}
1488@findex eval-defun 1492@findex eval-defun
@@ -1516,9 +1520,11 @@ eval-buffer} is similar but evaluates the entire buffer.
1516 The options @code{eval-expression-print-level} and 1520 The options @code{eval-expression-print-level} and
1517@code{eval-expression-print-length} control the maximum depth and 1521@code{eval-expression-print-length} control the maximum depth and
1518length of lists to print in the result of the evaluation commands 1522length of lists to print in the result of the evaluation commands
1519before abbreviating them. @code{eval-expression-debug-on-error} 1523before abbreviating them. Supplying a zero prefix argument to
1520controls whether evaluation errors invoke the debugger when these 1524@code{eval-expression} or @code{eval-last-sexp} causes lists to be
1521commands are used; its default is @code{t}. 1525printed in full. @code{eval-expression-debug-on-error} controls
1526whether evaluation errors invoke the debugger when these commands are
1527used; its default is @code{t}.
1522 1528
1523@node Lisp Interaction 1529@node Lisp Interaction
1524@section Lisp Interaction Buffers 1530@section Lisp Interaction Buffers