diff options
| author | Richard M. Stallman | 2004-12-28 15:30:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-12-28 15:30:39 +0000 |
| commit | 842a1eac522593accd7a45cd19fc88380f54377e (patch) | |
| tree | b899f8db66f778eae9b65f62bb3f57d772552a03 | |
| parent | 5bdca8af0dcab60b70ad22664ff9814efc15fa4b (diff) | |
| download | emacs-842a1eac522593accd7a45cd19fc88380f54377e.tar.gz emacs-842a1eac522593accd7a45cd19fc88380f54377e.zip | |
(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 | |||
| 229 | override them. Users can prevent loading `default.el' with the `-q' | 229 | override them. Users can prevent loading `default.el' with the `-q' |
| 230 | option or by setting `inhibit-default-init' in their own init files, | 230 | option or by setting `inhibit-default-init' in their own init files, |
| 231 | but inhibiting `site-start.el' requires `--no-site-file', which | 231 | but inhibiting `site-start.el' requires `--no-site-file', which |
| 232 | is less convenient." | 232 | is less convenient. |
| 233 | |||
| 234 | This variable is defined for customization so as to make | ||
| 235 | it visible in the relevant context. However, actually customizing it | ||
| 236 | is not allowed, since it would not work anyway. The only way to set | ||
| 237 | this 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." |