|
From: | attila |
Subject: | Re: check mail config in init.el |
Date: | Mon, 10 Jan 2005 13:13:33 GMT |
User-agent: | Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Common Lisp, linux) |
drkm <usenet@fgeorges.org> writes: >> I want a single file of configuration. > > It sounds strange to me. I'm sorry :-) > Why not keep these things in different files? I prefer therefore. > So you have to require ... gnus ... . I had already made it. (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)) (eval-after-load 'gnus '(progn (require 'gnus-demon) (gnus-demon-add-handler 'gnus-demon-scan-and-update 1 nil) (gnus-demon-add-handler 'gnus-group-save-newsrc 5 1) )) it does not work. :-( thanks
[Prev in Thread] | Current Thread | [Next in Thread] |