[gnus git] branch master updated: m0-11-194-g441fce6 =1= nnmh.el (nnmh-request-expire-articles): Work for the case nnmail-expiry-target is an nnmh group (bug#20170)

Katsumi <[email protected]> Mon, 23 Mar 2015 23:22:12 +0100
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  441fce6b76559fdb536106a0518551c01d0e26a9 (commit)
      from  bc3e5787b547dc8aedaa0753cc23d975ae72f19a (commit)


- Log -----------------------------------------------------------------
commit 441fce6b76559fdb536106a0518551c01d0e26a9
Author: Ben Bacarisse <[email protected]>
Date:   Mon Mar 23 22:21:54 2015 +0000

    nnmh.el (nnmh-request-expire-articles): Work for the case nnmail-expiry-target is an nnmh group (bug#20170)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 02e65c1..b975dc7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-23  Ben Bacarisse  <[email protected]>  (tiny change)
+
+	* nnmh.el (nnmh-request-expire-articles):
+	Work for the case nnmail-expiry-target is an nnmh group (bug#20170).
+
 2015-03-21  Eric Abrahamsen  <[email protected]>
 
 	* registry.el (registry-lookup-secondary, registry-full)
diff --git a/lisp/nnmh.el b/lisp/nnmh.el
index 9be0c14..04270a5 100644
--- a/lisp/nnmh.el
+++ b/lisp/nnmh.el
@@ -259,12 +259,12 @@ as unread by Gnus.")
 					       &optional server force)
   (nnmh-possibly-change-directory newsgroup server)
   (let ((is-old t)
+	(dir nnmh-current-directory)
 	article rest mod-time)
     (nnheader-init-server-buffer)
 
     (while (and articles is-old)
-      (setq article (concat nnmh-current-directory
-			    (int-to-string (car articles))))
+      (setq article (concat dir (int-to-string (car articles))))
       (when (setq mod-time (nth 5 (file-attributes article)))
 	(if (and (nnmh-deletable-article-p newsgroup (car articles))
 		 (setq is-old

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    5 +++++
 lisp/nnmh.el   |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project