(gnus-read-init-file): Don't load anything if init-file-user is nil.

This commit is contained in:
Richard M. Stallman 1996-12-08 22:00:45 +00:00
parent 4da2f5be4a
commit 4703f85167

View file

@ -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)))