summaryrefslogtreecommitdiff
path: root/lisp/gnus.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>1996-07-14 14:32:45 +0000
committerLars Magne Ingebrigtsen <larsi@gnus.org>1996-07-14 14:32:45 +0000
commit750ff6a8081c117e9e6713e6649430a6749ed5c7 (patch)
tree1effa0f667e01b40ebc16954c6bbdc653cccea71 /lisp/gnus.el
parent3c29caa89ce1481405e526a335941d6a4bf1367f (diff)
downloademacs-750ff6a8081c117e9e6713e6649430a6749ed5c7.tar.gz
((provide 'gnus)): Make sure `gnus-directory' is defined
when byte-compiling.
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)