aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-03-22 04:50:15 +0000
committerRichard M. Stallman1995-03-22 04:50:15 +0000
commit13fce4e6ed465110b5ff6f977d89b6266eeff303 (patch)
treebda0852e1a1b04d8c5be6a5347553ce4d62a7b41
parent0a4e59d934e2324661cdf9745d9f43f2b02549f2 (diff)
downloademacs-13fce4e6ed465110b5ff6f977d89b6266eeff303.tar.gz
emacs-13fce4e6ed465110b5ff6f977d89b6266eeff303.zip
(init-file-user, site-run-file): Doc fixes.
-rw-r--r--lisp/startup.el22
1 files changed, 17 insertions, 5 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index a884e61a183..cab5b3225cf 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -36,12 +36,14 @@
36; code; use the current virtual terminal. 36; code; use the current virtual terminal.
37; This option must be the first in the arglist. 37; This option must be the first in the arglist.
38; Processed by `main' in emacs.c -- never seen by lisp 38; Processed by `main' in emacs.c -- never seen by lisp
39; -q load no init file 39; -q load no init file; don't load default.el either.
40; But this has no effect on site-start.el.
40; -no-init-file same 41; -no-init-file same
41; -u user load user's init file 42; -u user load USER's init file instead of your own.
42; -user user same 43; -user user same
43; -debug-init Don't catch errors in init file; let debugger run. 44; -debug-init Don't catch errors in init file; let debugger run.
44; -no-site-file Don't load site-run-file. 45; -no-site-file Don't load site-start.el.
46; (This is the ONLY way to prevent loading that file.)
45 47
46; These are processed in the order encountered. 48; These are processed in the order encountered.
47; -f function execute function 49; -f function execute function
@@ -135,7 +137,10 @@ originally logged in, or it may be a string containing a user's name.
135 137
136In either of the latter cases, `(concat \"~\" init-file-user \"/\")' 138In either of the latter cases, `(concat \"~\" init-file-user \"/\")'
137evaluates to the name of the directory where the `.emacs' file was 139evaluates to the name of the directory where the `.emacs' file was
138looked for.") 140looked for.
141
142Setting `init-file-user' does not prevent Emacs from loading
143`site-start.el'. The only way to do that is to use `--no-site-file'.")
139 144
140(defvar site-run-file "site-start" 145(defvar site-run-file "site-start"
141 "File containing site-wide run-time initializations. 146 "File containing site-wide run-time initializations.
@@ -143,7 +148,14 @@ This file is loaded at run-time before `~/.emacs'. It contains inits
143that need to be in place for the entire site, but which, due to their 148that need to be in place for the entire site, but which, due to their
144higher incidence of change, don't make sense to load into emacs' 149higher incidence of change, don't make sense to load into emacs'
145dumped image. Thus, the run-time load order is: 1. file described in 150dumped image. Thus, the run-time load order is: 1. file described in
146this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.") 151this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.
152
153Don't use the `site-start.el' file for things some users may not like.
154Put them in `default.el' instead, so that users can more easily
155override them. Users can prevent loading `default.el' with the `-q'
156option or by setting `inhibit-default-init' in their own init files,
157but inhibiting `site-start.el' requires `--no-site-file', which
158is less convenient.")
147 159
148(defconst iso-8859-1-locale-regexp "8859[-_]?1" 160(defconst iso-8859-1-locale-regexp "8859[-_]?1"
149 "Regexp that specifies when to enable the ISO 8859-1 character set. 161 "Regexp that specifies when to enable the ISO 8859-1 character set.