summaryrefslogtreecommitdiff
path: root/lisp/gnus.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus.el')
-rw-r--r--lisp/gnus.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus.el b/lisp/gnus.el
index 29c2b274c20..40d0cf5b6ca 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -15941,6 +15941,7 @@ newsgroup."
;; We want to inline a function from gnus-cache, so we cheat here:
(eval-when-compile
(provide 'gnus)
+ (setq gnus-directory (or (getenv "SAVEDIR") "~/News/"))
(require 'gnus-cache))
(defun gnus-get-unread-articles-in-group (info active &optional update)