aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKatsumi Yamaoka2015-11-25 13:47:46 +0000
committerKatsumi Yamaoka2015-11-25 13:47:46 +0000
commit849c1f0180bdadfe695ba0dc2abaf8d060c20328 (patch)
treeb4144fa34a8fe94c3914fc20b4ba2dafb2f0ba9f /lisp
parentd8143fa89b60943ac569c02f2a6d4738a217df88 (diff)
downloademacs-849c1f0180bdadfe695ba0dc2abaf8d060c20328.tar.gz
emacs-849c1f0180bdadfe695ba0dc2abaf8d060c20328.zip
Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
* lisp/gnus/nnml.el (nnml-retrieve-groups): Remove. See: <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/nnml.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/lisp/gnus/nnml.el b/lisp/gnus/nnml.el
index 33eae1c166e..a2947c0a992 100644
--- a/lisp/gnus/nnml.el
+++ b/lisp/gnus/nnml.el
@@ -268,23 +268,6 @@ non-nil.")
268 (max (1+ (- (cdr active) (car active))) 0) 268 (max (1+ (- (cdr active) (car active))) 0)
269 (car active) (cdr active) group))))))) 269 (car active) (cdr active) group)))))))
270 270
271(deffoo nnml-retrieve-groups (groups &optional server)
272 (when nnml-get-new-mail
273 (if (nnmail-get-new-mail-per-group)
274 (dolist (group groups)
275 (nnml-request-scan group server))
276 (nnml-request-scan nil server)))
277 (with-current-buffer nntp-server-buffer
278 (erase-buffer)
279 (dolist (group groups)
280 (let* ((entry (assoc group nnml-group-alist))
281 (active (nth 1 entry)))
282 (if (consp active)
283 (insert (format "211 %d %d %d %s\n"
284 (max (1+ (- (cdr active) (car active))) 0)
285 (car active) (cdr active) group))))))
286 'group)
287
288(deffoo nnml-request-scan (&optional group server) 271(deffoo nnml-request-scan (&optional group server)
289 (setq nnml-article-file-alist nil) 272 (setq nnml-article-file-alist nil)
290 (nnml-possibly-change-directory group server) 273 (nnml-possibly-change-directory group server)