; Improve documentation of the -L command-line option

* doc/emacs/cmdargs.texi (Action Arguments): Mention that '-L' is
in effect only after the init files are loaded.
This commit is contained in:
Eli Zaretskii 2025-05-16 15:02:58 +03:00
parent c80fbe3f23
commit 18e1aabbea

View file

@ -146,6 +146,13 @@ appends (rather than prepends) the remainder to @code{load-path}.
(On MS Windows, use @samp{;} instead of @samp{:}; i.e., use (On MS Windows, use @samp{;} instead of @samp{:}; i.e., use
the value of @code{path-separator}.) the value of @code{path-separator}.)
Note that the changes to @code{load-path} as result of using this option
do @emph{not} affect the directories where Emacs looks for the site
startup file and the Lisp packages loaded by the user's early-init and
init files (@pxref{Init File}), because @code{load-path} is changed by
the @samp{-L} option @emph{after} these files are loaded and
interpreted.
@item -f @var{function} @item -f @var{function}
@opindex -f @opindex -f
@itemx --funcall=@var{function} @itemx --funcall=@var{function}