diff options
| author | Glenn Morris | 2014-01-23 00:27:44 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-01-23 00:27:44 -0800 |
| commit | c51e81ef55fb15dbf66889519e0eaa3be988c425 (patch) | |
| tree | 96928d08a75289abb414e969eb94ee1d7e002258 /doc | |
| parent | 4a3c72703e6437ec67f3e7c2f73ad7980e29aa6a (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/building.texi | 20 |
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 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-01-17 Bastien Guerry <bzg@gnu.org> | 6 | 2014-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 |
| 1477 | Emacs Lisp expression preceding point in the buffer, and displays the | 1477 | Emacs Lisp expression preceding point in the buffer, and displays the |
| 1478 | value in the echo area. When the result of an evaluation is an | 1478 | value in the echo area. When the result of an evaluation is an |
| 1479 | integer, you can type @kbd{C-x C-e} a second time to display the value | 1479 | integer, it is displayed together with the value in other formats |
| 1480 | of the integer result in additional formats (octal, hexadecimal, and | 1480 | (octal, hexadecimal, and character). |
| 1481 | character). | ||
| 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 |
| 1484 | the value into the current buffer at point, rather than displaying it | 1483 | the value into the current buffer at point, rather than displaying it |
| 1485 | in the echo area. The argument's value does not matter. | 1484 | in the echo area. If the prefix argument is zero, any integer output |
| 1485 | is inserted together with its value in other formats (octal, | ||
| 1486 | hexadecimal, and character). Such a prefix argument also prevents | ||
| 1487 | abbreviation 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 |
| 1518 | length of lists to print in the result of the evaluation commands | 1522 | length of lists to print in the result of the evaluation commands |
| 1519 | before abbreviating them. @code{eval-expression-debug-on-error} | 1523 | before abbreviating them. Supplying a zero prefix argument to |
| 1520 | controls whether evaluation errors invoke the debugger when these | 1524 | @code{eval-expression} or @code{eval-last-sexp} causes lists to be |
| 1521 | commands are used; its default is @code{t}. | 1525 | printed in full. @code{eval-expression-debug-on-error} controls |
| 1526 | whether evaluation errors invoke the debugger when these commands are | ||
| 1527 | used; 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 |