Brady Trainor <[email protected]> writes:
> The following,
>
> #+BEGIN_SRC elisp
> (setq gnus-demon-handlers nil)
> (setq gnus-demon-timestep 5)
> (gnus-demon-add-handler (lambda ()
> (message "hello"))
> 1 nil)
> #+END_SRC
>
> works for me.
Thank you. Indeed, this works for me.
(require 'gnus-demon)
(require 'cl-lib)
(defvar *its*)
(setq *its* 0)
(setq gnus-demon-timestep 1)
(gnus-demon-add-handler (lambda ()
(cl-incf *its*)
(message "hello: %s" *its*))
1 nil)
Perhaps it was the `gnus-demon-timestep' that did it.
(Note: if anyone can't get to the help of that
variable, do (require 'gnus-demon) first. FWR this
isn't necessary to get the help of
`gnus-demon-add-handler', even tho that is also
defined in gnus-demon.el).
--
underground experts united
http://user.it.uu.se/~embe8573
_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english