demon: add autoload
authorJulien Danjou <julien@danjou.info>
Sun, 5 Aug 2012 19:24:34 +0000 (21:24 +0200)
committerJulien Danjou <julien@danjou.info>
Sun, 5 Aug 2012 19:24:59 +0000 (21:24 +0200)
Signed-off-by: Julien Danjou <julien@danjou.info>
lisp/ChangeLog
lisp/gnus-demon.el

index a3a5b6d..1bf8444 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-05  Julien Danjou  <julien@danjou.info>
+
+       * gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler):
+       Add autoload.
+
 2012-07-31  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus.el (gnus-valid-select-methods): Fix custom type.
index 115c577..81529b7 100644 (file)
@@ -77,6 +77,7 @@ Emacs has been idle for IDLE `gnus-demon-timestep's."
 
 ;;; Functions.
 
+;;;###autoload
 (defun gnus-demon-add-handler (function time idle)
   "Add the handler FUNCTION to be run at TIME and IDLE."
   ;; First remove any old handlers that use this function.
@@ -85,6 +86,7 @@ Emacs has been idle for IDLE `gnus-demon-timestep's."
   (push (list function time idle) gnus-demon-handlers)
   (gnus-demon-init))
 
+;;;###autoload
 (defun gnus-demon-remove-handler (function &optional no-init)
   "Remove the handler FUNCTION from the list of handlers."
   (gnus-alist-pull function gnus-demon-handlers)