diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-27 23:38:13 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-27 23:38:13 +0100 |
commit | 8eaf04de83fd967c2ab69a4c1dfe44a6a10aa912 (patch) | |
tree | d73d7ea96afc03572e51c80c0738e3a7e5ea2899 /src/emacs.c | |
parent | 53ebc1fa21f068862753de6cb6a8eb4ad71d8a40 (diff) | |
download | emacs-8eaf04de83fd967c2ab69a4c1dfe44a6a10aa912.tar.gz emacs-8eaf04de83fd967c2ab69a4c1dfe44a6a10aa912.tar.bz2 emacs-8eaf04de83fd967c2ab69a4c1dfe44a6a10aa912.zip |
Add new switch --init-directory
* doc/emacs/cmdargs.texi (Initial Options): Mention it.
* lisp/startup.el (normal-top-level): Move the eln init to after
we've processed the command line arguments.
(command-line): Interpret the --init-directory switch.
* src/emacs.c (standard_args): Add.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index f6e2c01ee74..2014e97fbff 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -2472,6 +2472,7 @@ static const struct standard_args standard_args[] = { "-quick", 0, 55, 0 }, { "-q", "--no-init-file", 50, 0 }, { "-no-init-file", 0, 50, 0 }, + { "-init-directory", "--init-directory", 30, 1 }, { "-no-x-resources", "--no-x-resources", 40, 0 }, { "-no-site-file", "--no-site-file", 40, 0 }, { "-u", "--user", 30, 1 }, |