]> git.eshelyaron.com Git - emacs.git/commitdiff
((provide 'gnus)): Make sure `gnus-directory' is defined
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 14 Jul 1996 14:32:45 +0000 (14:32 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Sun, 14 Jul 1996 14:32:45 +0000 (14:32 +0000)
when byte-compiling.

lisp/gnus.el

index 29c2b274c203e7c47752d27ae3ba2bff5fb6a42a..40d0cf5b6ca70ad58dd501603e1216ed7a71fc4f 100644 (file)
@@ -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)