From 025abeeebac0c196b8efa3aa538bcc69b7037374 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 4 Feb 2015 22:08:48 +0100 Subject: [PATCH] nnimap: fix group scan request `gnus-group-get-new-news-this-group' was not refreshing the group with the newly introduced `nnimap-request-group-scan' method due to two naming problems. --- lisp/gnus-int.el | 2 +- lisp/nnimap.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gnus-int.el b/lisp/gnus-int.el index dd938ce07586..4e870bb84bb9 100644 --- a/lisp/gnus-int.el +++ b/lisp/gnus-int.el @@ -442,7 +442,7 @@ If it is down, start it up (again)." (defun gnus-request-group-scan (group info) "Request that GROUP get a complete rescan." (let ((gnus-command-method (gnus-find-method-for-group group)) - (func 'request-group-description)) + (func 'request-group-scan)) (when (gnus-check-backend-function func group) (funcall (gnus-get-function gnus-command-method func) (gnus-group-real-name group) (nth 1 gnus-command-method) info)))) diff --git a/lisp/nnimap.el b/lisp/nnimap.el index e619c0f13c29..cdbc2a68709b 100644 --- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -820,7 +820,7 @@ textual parts.") group)) t)))) -(deffoo nnimap-request-scan-group (group &optional server info) +(deffoo nnimap-request-group-scan (group &optional server info) (setq group (nnimap-decode-gnus-group group)) (let (marks high low) (with-current-buffer (nnimap-buffer) -- 2.1.4