Mercurial > emacs
diff man/cmdargs.texi @ 90103:3ebd9bdb4fe5
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-13
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-83
- miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-89
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-90
Update from CVS: man/calc.texi: Add macro for LaTeX for info output.
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-91
- miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-94
Update from CVS
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sun, 13 Feb 2005 07:19:08 +0000 |
parents | 72cf6261961e ae756c7d3081 |
children | bbc2e661b93c |
line wrap: on
line diff
--- a/man/cmdargs.texi Sun Feb 13 00:40:20 2005 +0000 +++ b/man/cmdargs.texi Sun Feb 13 07:19:08 2005 +0000 @@ -14,15 +14,16 @@ for sophisticated activities. We don't recommend using them for ordinary editing. - Arguments starting with @samp{-} are @dfn{options}. Other arguments -specify files to visit. Emacs visits the specified files while it -starts up. The last file name on your command line becomes the -current buffer; the other files are also visited in other buffers. If -there are two files, they are both displayed; otherwise the last file -is displayed along with a buffer list that shows what other buffers -there are. As with most programs, the special argument @samp{--} says -that all subsequent arguments are file names, not options, even if -they start with @samp{-}. + Arguments starting with @samp{-} are @dfn{options}, and so is +@samp{+@var{linenum}}. All other arguments specify files to visit. +Emacs visits the specified files while it starts up. The last file +name on your command line becomes the current buffer; the other files +are also visited in other buffers. If there are two files, they are +both displayed; otherwise the last file is displayed along with a +buffer list that shows what other buffers there are. As with most +programs, the special argument @samp{--} says that all subsequent +arguments are file names, not options, even if they start with +@samp{-}. Emacs command options can specify many things, such as the size and position of the X window Emacs uses, its colors, and so on. A few @@ -111,9 +112,10 @@ @opindex --load @cindex loading Lisp libraries, command-line argument Load a Lisp library named @var{file} with the function @code{load}. -@xref{Lisp Libraries}. The library can be found either in the current -directory, or in the Emacs library search path as specified -with @env{EMACSLOADPATH} (@pxref{General Variables}). +@xref{Lisp Libraries}. If @var{file} is not an absolute file name, +the library can be found either in the current directory, or in the +Emacs library search path as specified with @env{EMACSLOADPATH} +(@pxref{General Variables}). @item -L @var{dir} @opindex -L @@ -218,10 +220,11 @@ @code{stderr}. Functions that would normally read from the minibuffer take their input from @code{stdin} instead. -@samp{--batch} implies @samp{-q} (do not load an init file). It also -causes Emacs to exit after processing all the command options. In -addition, it disables auto-saving except in buffers for which it has -been explicitly requested. +@samp{--batch} implies @samp{-q} (do not load an init file), but +@file{site-start.el} is loaded nonetheless. It also causes Emacs to +exit after processing all the command options. In addition, it +disables auto-saving except in buffers for which it has been +explicitly requested. @item --script @var{file} @opindex --script @@ -301,7 +304,8 @@ explicitly ask for a multibyte buffer or string. (Note that Emacs always loads Lisp files in multibyte mode, even if @samp{--unibyte} is specified; see @ref{Enabling Multibyte}.) Setting the environment -variable @env{EMACS_UNIBYTE} has the same effect. +variable @env{EMACS_UNIBYTE} has the same effect +(@pxref{General Variables}). @item --multibyte @opindex --multibyte @@ -320,7 +324,7 @@ to be a C program. @example -emacs -batch foo.c -l hack-c -f save-buffer >& log +emacs --batch foo.c -l hack-c -f save-buffer >& log @end example @noindent