diff options
| author | Richard M. Stallman | 1996-12-08 22:00:45 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-12-08 22:00:45 +0000 |
| commit | 4703f85167579c1db3bdc13f074b007f777c067c (patch) | |
| tree | 28844d09fd2c4eb115af2912d0776c30fd1fab8c | |
| parent | 4da2f5be4ace0fee2bf033019fe3c9a8b966a866 (diff) | |
| download | emacs-4703f85167579c1db3bdc13f074b007f777c067c.tar.gz emacs-4703f85167579c1db3bdc13f074b007f777c067c.zip | |
(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. | |||
| 2267 | (setq gnus-init-inhibit nil) | 2267 | (setq gnus-init-inhibit nil) |
| 2268 | (setq gnus-init-inhibit inhibit-next) | 2268 | (setq gnus-init-inhibit inhibit-next) |
| 2269 | (and gnus-init-file | 2269 | (and gnus-init-file |
| 2270 | ;; Don't load .gnus if -q option was used. | ||
| 2271 | init-file-user | ||
| 2270 | (or (and (file-exists-p gnus-init-file) | 2272 | (or (and (file-exists-p gnus-init-file) |
| 2271 | ;; Don't try to load a directory. | 2273 | ;; Don't try to load a directory. |
| 2272 | (not (file-directory-p gnus-init-file))) | 2274 | (not (file-directory-p gnus-init-file))) |