From: Glenn Morris Date: Thu, 30 Jan 2014 07:48:06 +0000 (-0800) Subject: * lisp/simple.el (eval-expression): Doc fix. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~231 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6bbc0c845f910abcd8059c57476a6aa267138318;p=emacs.git * lisp/simple.el (eval-expression): Doc fix. * etc/NEWS: Add missing entry. --- diff --git a/etc/NEWS b/etc/NEWS index bf26c669ea1..4c92c329872 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -221,6 +221,9 @@ equivalent to setting `(eval-expression-)print-length' and `(eval-expression-)print-level' to nil. Additionally, it causes integers to be printed in other formats (octal, hexadecimal, and character). +*** New hook `eval-expression-minibuffer-setup-hook' run by +`eval-expression' on entering the minibuffer. + --- ** `write-region-inhibit-fsync' now defaults to t in batch mode. diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1e11782d110..2a073a1ae32 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2014-01-30 Glenn Morris + * simple.el (eval-expression): Doc fix. + * hexl.el (hexl-mode-hook): * ielm.el (ielm-mode-hook): * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook) diff --git a/lisp/simple.el b/lisp/simple.el index 0aa32767295..2e924c857da 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1401,6 +1401,9 @@ however, there is no such truncation. Such a prefix argument also causes integers to be printed in several additional formats \(octal, hexadecimal, and character). +Runs the hook `eval-expression-minibuffer-setup-hook' on entering the +minibuffer. + If `eval-expression-debug-on-error' is non-nil, which is the default, this command arranges for all errors to enter the debugger." (interactive