diff options
author | Glenn Morris <rgm@gnu.org> | 2011-01-06 19:10:39 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-01-06 19:10:39 -0800 |
commit | 66b7b0fe80885b6357517a78f67189ab6a5dbd68 (patch) | |
tree | 4a854d4dca2a11e2b90a60eddd8f52036f8df1d9 /etc | |
parent | 83f3eadc06b0fe40c669568394b14174018382c8 (diff) | |
download | emacs-66b7b0fe80885b6357517a78f67189ab6a5dbd68.tar.gz |
Add --no-site-lisp option, make -Q use it. (Bug#5707)
* lisp/Makefile.in (EMACSOPT): Add --no-site-lisp.
* src/emacs.c (no_site_lisp): New int.
(USAGE1): Add --no-site-lisp, mention -Q uses it.
(main): Set no_site_lisp.
(standard_args): Add --no-site-lisp.
* src/lisp.h (no_site_lisp): New int.
* src/lread.c (init_lread): If no_site_lisp, don't re-add site-lisp
directories to Vload_path.
* etc/NEWS: Mention --no-site-lisp.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -59,6 +59,9 @@ automatically select it. command line arguments, and the EMACS_UNIBYTE environment variable, no longer have any effect. (They were declared obsolete in Emacs 23.) +** New command line option `--no-site-lisp' removes site-lisp directories +from load-path. -Q now implies this. + * Changes in Emacs 24.1 |