[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:
parent
20e14a345b
commit
0c3b613625
2
init.el
2
init.el
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue