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 | 4703f85167579c1db3bdc13f074b007f777c067c (patch) | |
tree | 28844d09fd2c4eb115af2912d0776c30fd1fab8c /lisp/gnus.el | |
parent | 4da2f5be4ace0fee2bf033019fe3c9a8b966a866 (diff) | |
download | emacs-4703f85167579c1db3bdc13f074b007f777c067c.tar.gz |
(gnus-read-init-file): Don't load anything if init-file-user is nil.
Diffstat (limited to 'lisp/gnus.el')
-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))) |