summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-gnus.el
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-08-04 01:04:55 +0100
committerjao <jao@gnu.org>2022-08-04 01:05:05 +0100
commita3578e836180b5095bbefeb607ed0ba15c2564c3 (patch)
tree9f068e3139c6d35387ad296ddb9a76e357de1553 /custom/jao-custom-gnus.el
parent79d1c5fd9162ebfd9a9760f5d65b1a72598335fb (diff)
downloadelibs-a3578e836180b5095bbefeb607ed0ba15c2564c3.tar.gz
elibs-a3578e836180b5095bbefeb607ed0ba15c2564c3.tar.bz2
gnus: little cleanups
Diffstat (limited to 'custom/jao-custom-gnus.el')
-rw-r--r--custom/jao-custom-gnus.el5
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)