/[emacs]/emacs/man/cmdargs.texi
ViewVC logotype

Diff of /emacs/man/cmdargs.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.67 by rms, Mon Jul 29 01:53:42 2002 UTC revision 1.68 by rms, Mon Sep 9 19:17:00 2002 UTC
# Line 195  shell scripts, makefiles, and so on.  No Line 195  shell scripts, makefiles, and so on.  No
195  or @samp{-f} option will be used as well, to invoke a Lisp program  or @samp{-f} option will be used as well, to invoke a Lisp program
196  to do the batch processing.  to do the batch processing.
197    
198  @samp{-batch} implies @samp{-q} (do not load an init file).  It also  @samp{--batch} implies @samp{-q} (do not load an init file).  It also
199  causes Emacs to exit after processing all the command options.  In  causes Emacs to exit after processing all the command options.  In
200  addition, it disables auto-saving except in buffers for which it has  addition, it disables auto-saving except in buffers for which it has
201  been explicitly requested.  been explicitly requested.
202    
203    @item --script @var{file}
204    @opindex --script
205    Run Emacs in batch mode, like @samp{--batch}, and then read and
206    execute the Lisp code in @var{file}.
207    
208    The normal use of this option is in executable script files that run
209    Emacs.  They can start with this text on the first line
210    
211    @example
212    #!/usr/bin/emacs --script
213    @end example
214    
215    @noindent
216    which will invoke Emacs with @samp{--script} and supply the name of
217    the script file as @var{file}.  Emacs Lisp then treats @samp{#!}  as a
218    comment delimiter.
219    
220  @item -q  @item -q
221  @opindex -q  @opindex -q
222  @itemx --no-init-file  @itemx --no-init-file

Legend:
Removed from v.1.67  
changed lines
  Added in v.1.68

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26