From 7d3d9073baab38d909f28c2d5fffee2ab61b8f56 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 5 Aug 2012 22:02:24 +0000 Subject: [PATCH] gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler): Add autoload --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/gnus-demon.el | 2 ++ 2 files changed, 7 insertions(+) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index d7bedfb3260..e011396263c 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2012-08-05 Julien Danjou + + * gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler): + Add autoload. + 2012-07-31 Katsumi Yamaoka * gnus.el (gnus-valid-select-methods): Fix custom type. diff --git a/lisp/gnus/gnus-demon.el b/lisp/gnus/gnus-demon.el index 115c5777448..81529b7f6be 100644 --- a/lisp/gnus/gnus-demon.el +++ b/lisp/gnus/gnus-demon.el @@ -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) -- 2.39.2