X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fnnmh.el;h=984144e0d9a7ec6a8ce120449d28f81b02611d0b;hb=8339220cc25db3fbdab4367d6252e596bddd9cb1;hp=ba9eb232f3b5231f41ad4f561f1dca4ed751d7bc;hpb=1564c1d6950f05de2a8ceb5f12b3f2492f037b7f;p=gnus diff --git a/lisp/nnmh.el b/lisp/nnmh.el index ba9eb232f..984144e0d 100644 --- a/lisp/nnmh.el +++ b/lisp/nnmh.el @@ -149,7 +149,7 @@ as unread by Gnus.") (save-excursion (nnmail-find-file file)) (string-to-number (file-name-nondirectory file))))) -(deffoo nnmh-request-group (group &optional server dont-check) +(deffoo nnmh-request-group (group &optional server dont-check info) (nnheader-init-server-buffer) (nnmh-possibly-change-directory group server) (let ((pathname (nnmail-group-pathname group nnmh-directory)) @@ -209,7 +209,7 @@ as unread by Gnus.") ;; Recurse down all directories. (let ((files (nnheader-directory-files dir t nil t)) (max 0) - min rdir num subdirectoriesp) + min rdir num subdirectoriesp file) ;; Recurse down directories. (setq subdirectoriesp (> (nth 1 (file-attributes dir)) 2)) (dolist (rdir files) @@ -248,7 +248,7 @@ as unread by Gnus.") ?/ ?.) nnmail-pathname-coding-system))) (or max 0) - (or min 0)))))) + (or min 1)))))) t) (deffoo nnmh-request-newgroups (date &optional server) @@ -258,9 +258,6 @@ as unread by Gnus.") &optional server force) (nnmh-possibly-change-directory newsgroup server) (let ((is-old t) - (nnmail-expiry-target - (or (gnus-group-find-parameter newsgroup 'expiry-target t) - nnmail-expiry-target)) article rest mod-time) (nnheader-init-server-buffer)