aboutsummaryrefslogtreecommitdiffstats
path: root/src/emacs.c
diff options
context:
space:
mode:
authorDaniel Colascione2015-03-14 14:53:33 -0700
committerDaniel Colascione2015-03-14 14:53:33 -0700
commit3bf369928e44fd83c27ef436b05d9cd2b4abbfba (patch)
tree48341d5125540fe53a28840b9a9455843c2b8490 /src/emacs.c
parent85f1a56f156f7f9aab1464318970b3a1d97fa533 (diff)
downloademacs-3bf369928e44fd83c27ef436b05d9cd2b4abbfba.tar.gz
emacs-3bf369928e44fd83c27ef436b05d9cd2b4abbfba.zip
Add --no-x-resources option
* lisp/startup.el (command-line): Process "--no-x-resources". * src/emacs.c (standard_args): Add --no-x-resources. (usage_message): Document that -Q implies --no-x-resources.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index ca5633da2dd..d318fd4649a 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -237,6 +237,7 @@ Initialization options:\n\
237--no-init-file, -q load neither ~/.emacs nor default.el\n\ 237--no-init-file, -q load neither ~/.emacs nor default.el\n\
238--no-loadup, -nl do not load loadup.el into bare Emacs\n\ 238--no-loadup, -nl do not load loadup.el into bare Emacs\n\
239--no-site-file do not load site-start.el\n\ 239--no-site-file do not load site-start.el\n\
240--no-x-resources do not load X resources\n\
240--no-site-lisp, -nsl do not add site-lisp directories to load-path\n\ 241--no-site-lisp, -nsl do not add site-lisp directories to load-path\n\
241--no-splash do not display a splash screen on startup\n\ 242--no-splash do not display a splash screen on startup\n\
242--no-window-system, -nw do not communicate with X, ignoring $DISPLAY\n\ 243--no-window-system, -nw do not communicate with X, ignoring $DISPLAY\n\
@@ -244,6 +245,7 @@ Initialization options:\n\
244 "\ 245 "\
245--quick, -Q equivalent to:\n\ 246--quick, -Q equivalent to:\n\
246 -q --no-site-file --no-site-lisp --no-splash\n\ 247 -q --no-site-file --no-site-lisp --no-splash\n\
248 --no-x-resources\n\
247--script FILE run FILE as an Emacs Lisp script\n\ 249--script FILE run FILE as an Emacs Lisp script\n\
248--terminal, -t DEVICE use DEVICE for terminal I/O\n\ 250--terminal, -t DEVICE use DEVICE for terminal I/O\n\
249--user, -u USER load ~USER/.emacs instead of your own\n\ 251--user, -u USER load ~USER/.emacs instead of your own\n\
@@ -1661,6 +1663,7 @@ static const struct standard_args standard_args[] =
1661 { "-quick", 0, 55, 0 }, 1663 { "-quick", 0, 55, 0 },
1662 { "-q", "--no-init-file", 50, 0 }, 1664 { "-q", "--no-init-file", 50, 0 },
1663 { "-no-init-file", 0, 50, 0 }, 1665 { "-no-init-file", 0, 50, 0 },
1666 { "-no-x-resources", "--no-x-resources", 40, 0 },
1664 { "-no-site-file", "--no-site-file", 40, 0 }, 1667 { "-no-site-file", "--no-site-file", 40, 0 },
1665 { "-u", "--user", 30, 1 }, 1668 { "-u", "--user", 30, 1 },
1666 { "-user", 0, 30, 1 }, 1669 { "-user", 0, 30, 1 },