|
| From: | attila |
| Subject: | check mail config in init.el |
| Date: | Sun, 09 Jan 2005 20:34:17 GMT |
| User-agent: | Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux) |
hello.
I want to use this code:
(defun gnus-demon-scan-mail-or-news-and-update ()
"Scan for new mail/news and update de *Group* buffer"
(when (gnus-alive-p)
(save-window-excursion
(save-excursion
(set-buffer gnus-group-buffer)
(gnus-group-get-new-news)))))
(defun gnus-demon-scan-and-update ()
(gnus-demon-scan-mail-or-news-and-update))
(gnus-demon-add-handler 'gnus-demon-scan-and-update 5 nil)
to check mail every 5 minutes. I can try it into .gnus file and it
works, but I would want to put it in the init.el.
how I can make that?
thanks
| [Prev in Thread] | Current Thread | [Next in Thread] |