diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-12-28 15:30:39 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-12-28 15:30:39 +0000 |
commit | 842a1eac522593accd7a45cd19fc88380f54377e (patch) | |
tree | b899f8db66f778eae9b65f62bb3f57d772552a03 | |
parent | 5bdca8af0dcab60b70ad22664ff9814efc15fa4b (diff) | |
download | emacs-842a1eac522593accd7a45cd19fc88380f54377e.tar.gz |
(site-run-file): Don't allow setting it with Custom.
-rw-r--r-- | lisp/startup.el | 12 |
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 override them. Users can prevent loading `default.el' with the `-q' option or by setting `inhibit-default-init' in their own init files, but inhibiting `site-start.el' requires `--no-site-file', which -is less convenient." +is less convenient. + +This variable is defined for customization so as to make +it visible in the relevant context. However, actually customizing it +is not allowed, since it would not work anyway. The only way to set +this variable usefully is to set it during while building and dumping Emacs." :type '(choice (const :tag "none" nil) string) - :group 'initialization) + :group 'initialization + :initialize 'custom-initialize-default + :set '(lambda (variable value) + (error "Customizing `site-run-file' does not work"))) (defcustom mail-host-address nil "*Name of this machine, for purposes of naming users." |