Gnus development mailing list
 help / color / mirror / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: ding@gnus.org
Subject: gnus-demon problem
Date: Wed, 08 Dec 2010 13:30:16 +0100	[thread overview]
Message-ID: <pkn7hfke9ba.fsf@invalid.com> (raw)

gnus-demon-add-handler was erroring out on me, obviously nobody uses it
;)

diff --git a/lisp/gnus-demon.el b/lisp/gnus-demon.el
index b33a673..ad40117 100644
--- a/lisp/gnus-demon.el
+++ b/lisp/gnus-demon.el
@@ -128,11 +128,11 @@ Emacs has been idle for IDLE `gnus-demon-timestep's."
              ;; (func number t)
              ;; Call when Emacs has been idle for `time'
              ((and (numberp time) (eq idle t))
-              (run-with-timer t time 'gnus-demon-run-callback func time))
+              (run-with-timer time time 'gnus-demon-run-callback func time))
              ;; (func number number)
              ;; Call every `time' when Emacs has been idle for `idle'
              ((and (numberp time) (numberp idle))
-              (run-with-timer t time 'gnus-demon-run-callback func idle))
+              (run-with-timer time time 'gnus-demon-run-callback func idle))
              ;; (func nil number)
              ;; Only call when Emacs has been idle for `idle'
              ((and (null time) (numberp idle))




             reply	other threads:[~2010-12-08 12:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08 12:30 Robert Pluim [this message]
2010-12-08 15:47 ` Julien Danjou
2010-12-08 17:15   ` Robert Pluim
2010-12-08 17:21     ` Julien Danjou
2010-12-08 17:31       ` Robert Pluim
2010-12-08 17:53         ` Julien Danjou
2010-12-08 18:02           ` Robert Pluim
2010-12-08 19:35 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pkn7hfke9ba.fsf@invalid.com \
    --to=rpluim@gmail.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).