aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov2013-12-19 23:02:46 +0200
committerJuri Linkov2013-12-19 23:02:46 +0200
commitb41594fd4d77194a6781ee5a84e01142ad1b72e7 (patch)
tree84cb4eb66d7dea9cee8708a53a3d2160dd80b4d8 /etc
parent459457271091c8bb0b6734fe9bd709e86a8c66c1 (diff)
downloademacs-b41594fd4d77194a6781ee5a84e01142ad1b72e7.tar.gz
emacs-b41594fd4d77194a6781ee5a84e01142ad1b72e7.zip
* lisp/simple.el (eval-expression-print-format): Don't check for
command names and the last command. Always display additional formats of the integer result in the echo area, and insert them to the current buffer only with a zero prefix arg. Display character when char-displayable-p is non-nil. (eval-expression): With a zero prefix arg, set `print-length' and `print-level' to nil, and insert the integer values from `eval-expression-print-format' at the end. Doc fix. * lisp/emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg `eval-last-sexp-arg-internal'. Doc fix. (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to `eval-last-sexp-print-value'. Doc fix. (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'. Set `print-length' and `print-level' to nil when arg is zero. (eval-last-sexp): Doc fix. (eval-defun-2): Print the integer values from `eval-expression-print-format' at the end. * lisp/emacs-lisp/edebug.el (edebug-eval-defun): Print the integer values from `eval-expression-print-format' at the end. * lisp/ielm.el (ielm-eval-input): Print the integer values from `eval-expression-print-format' at the end. Fixes: debbugs:12985
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index dcdf9912d1c..d63291cba59 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -119,6 +119,12 @@ non-nil, they output the same results.
119** `eval-defun' on an already defined defcustom calls the :set function, 119** `eval-defun' on an already defined defcustom calls the :set function,
120if there is one. 120if there is one.
121 121
122** A zero prefix arg of `eval-last-sexp' (`C-x C-e'),
123`eval-expression' (`M-:') and `eval-print-last-sexp' (`C-j') inserts
124a list with no limit on its length and level (by using nil values of
125`print-length' and `print-level'), and inserts additional formats for
126integers (octal, hexadecimal, and character).
127
122** If the new variable `enable-dir-local-variables' is nil, 128** If the new variable `enable-dir-local-variables' is nil,
123directory local variables are ignored. May be useful for some modes 129directory local variables are ignored. May be useful for some modes
124that want to ignore directory-locals while still respecting file-locals. 130that want to ignore directory-locals while still respecting file-locals.