changeset 26322:9d7f261d1841

Reading from mini-buffer reads from stdin if noninteractive.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 03 Nov 1999 12:44:49 +0000
parents 7d9c6a0e5fc6
children 98d99afb5ffb
files etc/NEWS
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Wed Nov 03 12:41:38 1999 +0000
+++ b/etc/NEWS	Wed Nov 03 12:44:49 1999 +0000
@@ -13,6 +13,14 @@
 
 * Changes in Emacs 21.1
 
+** Reading from the mini-buffer now reads from standard input if Emacs
+is running in batch mode.  For example,
+
+  (message "%s" (read t))
+
+will read a Lisp expression from standard input and print the result
+to standard output.
+
 ** Faces and frame parameters.
 
 There are four new faces `scroll-bar', `border', `cursor' and `mouse'.