From 0a76969a95a6a0f4ab90e9dd127362fb66a90a98 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sun, 6 Feb 2022 20:56:46 +0100 Subject: [PATCH] Automatically expire elements in Gnus groups via gnus handler So I don't have to do it manually. Not sure whether this works, though. --- init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.el b/init.el index 8a7e5d9..2c67398 100644 --- a/init.el +++ b/init.el @@ -1871,6 +1871,8 @@ ;; Automatically scan for new news (gnus-demon-add-handler 'db/gnus-demon-scan-news-on-level-2 5 5) + ;; Automatically expire groups on idle + (gnus-demon-add-handler 'gnus-group-expire-all-groups 10 5) ;; Visit group under point and immediately close it; this updates ;; gnus’ registry as a side-effect