# HG changeset patch # User Gerd Moellmann # Date 941633089 0 # Node ID 9d7f261d18415638d7dcf4e1b635ec5d4fdd5774 # Parent 7d9c6a0e5fc63b1dcf43092d7d16576e0fa2124f Reading from mini-buffer reads from stdin if noninteractive. diff -r 7d9c6a0e5fc6 -r 9d7f261d1841 etc/NEWS --- 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'.