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