Tassilo Horn <[EMAIL PROTECTED]> writes:
> Maybe it doesn't work for him because
>       gnus-demon-scan-news-and-update
>       gnus-demon-scan-mail-and-update
> are no predefined gnus functions?

No, those are the functions I gave him.

But what I did wrong was to neglect to provide the base function
needed for the two utility functions:

;; level-specified group scanner.
(defun gnus-demon-scan-mail-or-news-and-update (level)
"Scan for new mail, updating the *Group* buffer."
  (let ((win (current-window-configuration)))
    (unwind-protect
        (save-window-excursion
          (save-excursion
            (when (gnus-alive-p)
              (save-excursion
                (set-buffer gnus-group-buffer)
                (gnus-group-get-new-news level)))))
      (set-window-configuration win))))

Without this, the two demon functions I offered should have blown up
completely on an undef error.
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to