From 842a1eac522593accd7a45cd19fc88380f54377e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 28 Dec 2004 15:30:39 +0000 Subject: [PATCH] (site-run-file): Don't allow setting it with Custom. --- lisp/startup.el | 12 ++++++++++-- 1 file 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." -- 2.39.5