From: Dave Love Date: Tue, 22 Aug 2000 18:42:51 +0000 (+0000) Subject: read in batch X-Git-Tag: emacs-pretest-21.0.90~2062 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e2b1c016fed45c39758bf162e80c01b54e8b46a4;p=emacs.git read in batch --- diff --git a/lispref/streams.texi b/lispref/streams.texi index efd905c9b20..74f9e43e92c 100644 --- a/lispref/streams.texi +++ b/lispref/streams.texi @@ -125,7 +125,13 @@ came from''. In this case, it makes no difference what value @code{t} used as a stream means that the input is read from the minibuffer. In fact, the minibuffer is invoked once and the text given by the user is made into a string that is then used as the -input stream. +input stream. If Emacs is running in batch mode, standard input is used +instead of the minibuffer. For example, +@example +(message "%s" (read t)) +@end example +will read a Lisp expression from standard input and print the result +to standard output. @item @code{nil} @cindex @code{nil} input stream