aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-01-27 23:38:13 +0100
committerLars Ingebrigtsen2022-01-27 23:38:13 +0100
commit8eaf04de83fd967c2ab69a4c1dfe44a6a10aa912 (patch)
treed73d7ea96afc03572e51c80c0738e3a7e5ea2899 /src
parent53ebc1fa21f068862753de6cb6a8eb4ad71d8a40 (diff)
downloademacs-8eaf04de83fd967c2ab69a4c1dfe44a6a10aa912.tar.gz
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')
-rw-r--r--src/emacs.c1
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[] =
2472 { "-quick", 0, 55, 0 }, 2472 { "-quick", 0, 55, 0 },
2473 { "-q", "--no-init-file", 50, 0 }, 2473 { "-q", "--no-init-file", 50, 0 },
2474 { "-no-init-file", 0, 50, 0 }, 2474 { "-no-init-file", 0, 50, 0 },
2475 { "-init-directory", "--init-directory", 30, 1 },
2475 { "-no-x-resources", "--no-x-resources", 40, 0 }, 2476 { "-no-x-resources", "--no-x-resources", 40, 0 },
2476 { "-no-site-file", "--no-site-file", 40, 0 }, 2477 { "-no-site-file", "--no-site-file", 40, 0 },
2477 { "-u", "--user", 30, 1 }, 2478 { "-u", "--user", 30, 1 },