[Gnus] Explicitly activate demon after startup

Calling ‘gnus-demon-init’ after loading gnus does not seem to have the desired
effect, now trying to run it after gnus has started.
This commit is contained in:
Daniel - 2019-04-11 19:13:23 +02:00
parent 20e14a345b
commit 0c3b613625
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 1 additions and 1 deletions

View File

@ -1521,7 +1521,7 @@ search commands like `db/helm-shortcuts."
;; Automatically scan for new news
(gnus-demon-add-handler 'db/gnus-demon-scan-news-on-level-2 5 5)
(gnus-demon-init)
(add-hook 'gnus-started-hook #'gnus-demon-init)
;; Visit group under point and immediately close it; this updates
;; gnus registry as a side-effect