changeset 47062:632e05bbcb98

Describe --script.
author Richard M. Stallman <rms@gnu.org>
date Tue, 27 Aug 2002 18:49:11 +0000
parents 494276e37e66
children e239d6c210ed
files etc/NEWS
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Tue Aug 27 18:47:35 2002 +0000
+++ b/etc/NEWS	Tue Aug 27 18:49:11 2002 +0000
@@ -1015,6 +1015,12 @@
 
 * Lisp Changes in Emacs 21.4
 
+** The option --script FILE runs Emacs in batch mode and loads FILE.
+It is useful for writing Emacs Lisp shell script files, because they
+can start with
+
+   #!/usr/bin/emacs --script
+
 ** A function's docstring can now hold the function's usage info on
 its last line.  It should match the regexp "\n\n(fn.*)\\'".