diff options
-rw-r--r-- | custom/jao-custom-gnus.el | 5 |
1 files changed, 2 insertions, 3 deletions
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) |