]> err.no Git - dotfiles/commitdiff
Use run-with-timer to not time out when we start
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Tue, 24 Jul 2007 07:00:41 +0000 (07:00 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Tue, 24 Jul 2007 07:00:41 +0000 (07:00 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@1045 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

gnus

diff --git a/gnus b/gnus
index 44a570605f160c2e238985b22d7762aeaa3fc198..c196015bd63920ae91e97e99859d2925dd1283bb 100644 (file)
--- a/gnus
+++ b/gnus
@@ -273,13 +273,11 @@ inserts \" characters."
       message-dont-reply-to-names rmail-dont-reply-to-names
 )
 
-;(cw/for-host "thosu\\|xoog\\|golem"
-;  (require 'gnus-demon)
-;  (gnus-demon-add-handler 'gnus-group-get-new-news 10 2)
-;  (gnus-demon-add-handler 'gnus-demon-close-connections 10 t)
-;  (gnus-demon-init)
-;)
-
+(run-with-timer 1200 nil (lambda () 
+                         (cw/for-host "thosu\\|xoog\\|golem"
+                           (require 'gnus-demon)
+                           (gnus-demon-add-handler 'gnus-demon-close-connections 10 t)
+                           (gnus-demon-init))))
 
 (defun tfheen-escape-url () "Puts <URL:> around URLs."
 (interactive)