summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/emacs-gnus-desktop-notify-rescan.patch
blob: 2e1f7782a30e65cfffb3b26cc389812a6eeedd07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Upstream-status: https://gitlab.com/wavexx/gnus-desktop-notify.el/-/merge_requests/16

diff --git a/README.rst b/README.rst
index 4cacdcb..150a2c2 100644
--- a/README.rst
+++ b/README.rst
@@ -18,7 +18,7 @@ new messages are received. For basic usage, to be used in conjunction with
 
   (require 'gnus-desktop-notify)
   (gnus-desktop-notify-mode)
-  (gnus-demon-add-scanmail)
+  (gnus-demon-add-rescan)
 
 into your ``.gnus`` file. The default is to use alert_ if available, which
 works on every operating system and allows the user to customize the
@@ -52,7 +52,7 @@ follows:
   (setq gnus-desktop-notify-function 'gnus-desktop-notify-exec
 	gnus-desktop-notify-exec-program "growlnotify -a Emacs.app -m")
   (gnus-desktop-notify-mode)
-  (gnus-demon-add-scanmail)
+  (gnus-demon-add-rescan)
 
 
 Advanced setup
diff --git a/gnus-desktop-notify.el b/gnus-desktop-notify.el
index 97e65f3..3153807 100644
--- a/gnus-desktop-notify.el
+++ b/gnus-desktop-notify.el
@@ -50,7 +50,7 @@
 ;;
 ;; (require 'gnus-desktop-notify)
 ;; (gnus-desktop-notify-mode)
-;; (gnus-demon-add-scanmail)
+;; (gnus-demon-add-rescan)
 ;;
 ;; into your ``.gnus`` file. The default is to use `alert' if available, which
 ;; works on every operating system and allows the user to customize the