# HG changeset patch # User Richard M. Stallman # Date 1030474151 0 # Node ID 632e05bbcb98ca82af028f93226a97bc325b2d43 # Parent 494276e37e66c20c29018c5450d5e82305cf15e1 Describe --script. diff -r 494276e37e66 -r 632e05bbcb98 etc/NEWS --- 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.*)\\'".