From a3578e836180b5095bbefeb607ed0ba15c2564c3 Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 4 Aug 2022 01:04:55 +0100 Subject: gnus: little cleanups --- custom/jao-custom-gnus.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'custom/jao-custom-gnus.el') diff --git a/custom/jao-custom-gnus.el b/custom/jao-custom-gnus.el index d8a0b6e..5aa0ff4 100644 --- a/custom/jao-custom-gnus.el +++ b/custom/jao-custom-gnus.el @@ -351,18 +351,17 @@ (defun jao-gnus--notify () (setq jao-gnus--notify-strs (jao-gnus--notify-strs)) - (save-window-excursion (jao-minibuffer-refresh))) + (jao-minibuffer-refresh)) (defun jao-gnus-scan () (interactive) (let ((inhibit-message t)) (gnus-demon-scan-mail) - ;; (shell-command "index-mail.sh") (jao-gnus--notify))) (require 'gnus-demon) (gnus-demon-add-handler 'gnus-demon-scan-news 5 1) -;; (gnus-demon-remove-handler 'jao-gnus-scan) +;; (gnus-demon-remove-handler 'gnus-demon-scan-news) (add-hook 'gnus-started-hook #'jao-gnus-scan) (add-hook 'gnus-summary-exit-hook #'jao-gnus--notify) -- cgit v1.2.3