From 0c3b613625a775317e305b2c75bb4eb53be00ca1 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Thu, 11 Apr 2019 19:13:23 +0200 Subject: [PATCH] [Gnus] Explicitly activate demon after startup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Calling ‘gnus-demon-init’ after loading gnus does not seem to have the desired effect, now trying to run it after gnus has started. --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 51c5ceb..9f0d437 100644 --- a/init.el +++ b/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