summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-11-21 14:40:27 +0200
committerEli Zaretskii <eliz@gnu.org>2023-11-21 14:40:27 +0200
commita7b3c92373373f956234349fe6b792e1396e293e (patch)
tree3b0a5b4f5c1956d9bde099e420f675e4cb939060 /doc/emacs
parentfd76a80864d79bcf719e3e9efa7899d4217371d8 (diff)
downloademacs-a7b3c92373373f956234349fe6b792e1396e293e.tar.gz
emacs-a7b3c92373373f956234349fe6b792e1396e293e.tar.bz2
emacs-a7b3c92373373f956234349fe6b792e1396e293e.zip
; * doc/emacs/cmdargs.texi (Initial Options): Fix last change.
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/cmdargs.texi10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi
index 49ae1288f73..38e683bd7f5 100644
--- a/doc/emacs/cmdargs.texi
+++ b/doc/emacs/cmdargs.texi
@@ -280,10 +280,7 @@ an Emacs Lisp backtrace being printed. To disable this behavior, set
@opindex --script
@cindex script mode
Run Emacs in batch mode, like @samp{--batch}, and then read and
-execute the Lisp code in @var{file}. Note that when Emacs reads the
-Lisp code in this case, it ignores any file-local variables
-(@pxref{Specifying File Variables}), both in the first line and in a
-local-variables section near the end of the file.
+execute the Lisp code in @var{file}.
The normal use of this option is in executable script files that run
Emacs. They can start with this text on the first line
@@ -312,8 +309,9 @@ This is like @samp{--script}, but suppresses loading the init files
reaches the end of the script, it exits Emacs and uses the value of
the final form as the exit value from the script (if the final value
is numerical). Otherwise, it will always exit with a zero value.
-Note that, like with @samp{--script}, Emacs ignores file-local
-variables in the script.
+Note that when Emacs reads the Lisp code in this case, it ignores any
+file-local variables (@pxref{Specifying File Variables}), both in the
+first line and in a local-variables section near the end of the file.
@item --no-build-details
@opindex --no-build-details