Commit 4703f851 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

parent 4da2f5be
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment