Mercurial > emacs
changeset 16645:52eb67172ca0
(gnus-read-init-file): Don't load anything if init-file-user is nil.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 08 Dec 1996 22:00:45 +0000 |
parents | 3a93437adce1 |
children | 6aeaedabbb62 |
files | lisp/gnus.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gnus.el Sun Dec 08 21:36:42 1996 +0000 +++ b/lisp/gnus.el Sun Dec 08 22:00:45 1996 +0000 @@ -2267,6 +2267,8 @@ (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)))