comparison lisp/Makefile.in @ 112132:4ef5cb86f2e8

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.
author Glenn Morris <rgm@gnu.org>
date Thu, 06 Jan 2011 19:10:39 -0800
parents fe9fcbca8f4e
children
comparison
equal deleted inserted replaced
112131:e0859218f943 112132:4ef5cb86f2e8
1 # Maintenance productions for the Lisp directory 1 # Maintenance productions for the Lisp directory
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
3 # 2009, 2010 Free Software Foundation, Inc. 3 # 2009, 2010, 2011 Free Software Foundation, Inc.
4 4
5 # This file is part of GNU Emacs. 5 # This file is part of GNU Emacs.
6 6
7 # GNU Emacs is free software: you can redistribute it and/or modify 7 # GNU Emacs is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by 8 # it under the terms of the GNU General Public License as published by
33 # to use an absolute file name. 33 # to use an absolute file name.
34 EMACS = ${abs_top_builddir}/src/emacs 34 EMACS = ${abs_top_builddir}/src/emacs
35 35
36 # Command line flags for Emacs. 36 # Command line flags for Emacs.
37 37
38 EMACSOPT = -batch --no-site-file 38 EMACSOPT = -batch --no-site-file --no-site-lisp
39 39
40 # Extra flags to pass to the byte compiler 40 # Extra flags to pass to the byte compiler
41 BYTE_COMPILE_EXTRA_FLAGS = 41 BYTE_COMPILE_EXTRA_FLAGS =
42 # For example to not display the undefined function warnings you can use this: 42 # For example to not display the undefined function warnings you can use this:
43 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))' 43 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'