aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-12-28 15:30:39 +0000
committerRichard M. Stallman2004-12-28 15:30:39 +0000
commit842a1eac522593accd7a45cd19fc88380f54377e (patch)
treeb899f8db66f778eae9b65f62bb3f57d772552a03
parent5bdca8af0dcab60b70ad22664ff9814efc15fa4b (diff)
downloademacs-842a1eac522593accd7a45cd19fc88380f54377e.tar.gz
emacs-842a1eac522593accd7a45cd19fc88380f54377e.zip
(site-run-file): Don't allow setting it with Custom.
-rw-r--r--lisp/startup.el12
1 files changed, 10 insertions, 2 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 637a909f78b..fee3fb7bd0f 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -229,9 +229,17 @@ Put them in `default.el' instead, so that users can more easily
229override them. Users can prevent loading `default.el' with the `-q' 229override them. Users can prevent loading `default.el' with the `-q'
230option or by setting `inhibit-default-init' in their own init files, 230option or by setting `inhibit-default-init' in their own init files,
231but inhibiting `site-start.el' requires `--no-site-file', which 231but inhibiting `site-start.el' requires `--no-site-file', which
232is less convenient." 232is less convenient.
233
234This variable is defined for customization so as to make
235it visible in the relevant context. However, actually customizing it
236is not allowed, since it would not work anyway. The only way to set
237this variable usefully is to set it during while building and dumping Emacs."
233 :type '(choice (const :tag "none" nil) string) 238 :type '(choice (const :tag "none" nil) string)
234 :group 'initialization) 239 :group 'initialization
240 :initialize 'custom-initialize-default
241 :set '(lambda (variable value)
242 (error "Customizing `site-run-file' does not work")))
235 243
236(defcustom mail-host-address nil 244(defcustom mail-host-address nil
237 "*Name of this machine, for purposes of naming users." 245 "*Name of this machine, for purposes of naming users."