diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-12-08 22:00:45 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-12-08 22:00:45 +0000 |
commit | ec21280f2f0212576e33fe781d0b9710b3f4c7bc (patch) | |
tree | 0ed92670397c2b5e23cd65cca276a28b89439ad1 | |
parent | bed891e3be6acb87a90135a4cd04e331426030ea (diff) | |
download | emacs-ec21280f2f0212576e33fe781d0b9710b3f4c7bc.tar.gz |
(gnus-read-init-file): Don't load anything if init-file-user is nil.
-rw-r--r-- | lisp/gnus.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/gnus.el b/lisp/gnus.el index 252a4d823de..f50ca034de1 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -2267,6 +2267,8 @@ Thank you for your help in stamping out bugs. (setq gnus-init-inhibit nil) (setq gnus-init-inhibit inhibit-next) (and gnus-init-file + ;; Don't load .gnus if -q option was used. + init-file-user (or (and (file-exists-p gnus-init-file) ;; Don't try to load a directory. (not (file-directory-p gnus-init-file))) |