From 66b7b0fe80885b6357517a78f67189ab6a5dbd68 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 6 Jan 2011 19:10:39 -0800 Subject: 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. --- etc/NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index d6fcece10da..b55820dac0d 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -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 -- cgit v1.2.1