summaryrefslogtreecommitdiff
path: root/lisp/startup.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-10-12 02:49:58 +0000
committerGlenn Morris <rgm@gnu.org>2007-10-12 02:49:58 +0000
commitdbffff5b06c438aae24f8143e5c771e009da093a (patch)
tree5f599e4767f6b4b531e8bd079b0c39cb37806613 /lisp/startup.el
parentb8044b69d3f7637170cb5f57213a2aedc983ee7a (diff)
downloademacs-dbffff5b06c438aae24f8143e5c771e009da093a.tar.gz
Comment.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r--lisp/startup.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 19ef664a2fe..f90ffeba0ef 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -815,6 +815,10 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
;; Run the site-start library if it exists. The point of this file is
;; that it is run before .emacs. There is no point in doing this after
;; .emacs; that is useless.
+ ;; Note that user-init-file is nil at this point. Code that might
+ ;; be loaded from site-run-file and wants to test if -q was given
+ ;; should check init-file-user instead, since that is already set.
+ ;; See cus-edit.el for an example.
(if site-run-file
(load site-run-file t t))