[gnus git] branch no-gnus updated: m0-1-106-g62080b8 =1= nnmaildir expiry fix-up

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  62080b8da2f489acb5fe038a0b433b39e812ff7f (commit)
      from  b374ff322d545ea58bb64959c7ffd9a9b15a80b2 (commit)


- Log -----------------------------------------------------------------
commit 62080b8da2f489acb5fe038a0b433b39e812ff7f
Author: Toke Høiland-Jørgensen <[email protected]>
Date:   Sun Jun 10 21:53:52 2012 +0200

    nnmaildir expiry fix-up
    
    * nnmaildir.el (nnmaildir-request-expire-articles): Ensure that `time'
    is an integer to avoid later problems.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ff5bdce..96ad078 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-10  Toke Høiland-Jørgensen  <[email protected]>  (tiny change)
+
+	* nnmaildir.el (nnmaildir-request-expire-articles): Ensure that `time'
+	is an integer to avoid later problems.
+
 2012-06-10  Lars Magne Ingebrigtsen  <[email protected]>
 
 	* shr.el: Add a iso-8859-1 cookie to make stuff work under other
diff --git a/lisp/nnmaildir.el b/lisp/nnmaildir.el
index bbace7c..7139a52 100644
--- a/lisp/nnmaildir.el
+++ b/lisp/nnmaildir.el
@@ -1461,7 +1461,7 @@ by nnmaildir-request-article.")
 	(if (eq time 'immediate)
 	    (setq time 0)
 	  (if (numberp time)
-	      (setq time (* time 86400)))))
+	      (setq time (round (* time 86400))))))
       (when no-force
 	(unless (integerp time) ;; handle 'never
 	  (throw 'return (gnus-uncompress-range ranges)))

-----------------------------------------------------------------------
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/nnmaildir.el |    2 +-
 2 files changed, 6 insertions(+), 1 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, no-gnus has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.