From: Glenn Morris Date: Mon, 1 Nov 2010 02:07:01 +0000 (-0700) Subject: Silence nnimap.el compilation. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~422^2~22 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2b1e1ff4fa06c07526f36096c56dd119380a9a5f;p=emacs.git Silence nnimap.el compilation. * lisp/gnus/nnimap.el: Require nnmail, and gnus-sum when compiling. (nnimap-keepalive): Use gnus-float-time. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index c3b747bc589..af52b316ea9 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,8 @@ 2010-11-01 Glenn Morris + * nnimap.el: Require nnmail, and gnus-sum when compiling. + (nnimap-keepalive): Use gnus-float-time. + * mail-source.el (nnheader-message, gnus-float-time): Autoload. (mail-source-delete-crash-box): Use gnus-float-time. diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 3940e643532..4d0d4b840f4 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -44,6 +44,10 @@ (require 'utf7) (require 'tls) (require 'parse-time) +(require 'nnmail) + +(eval-when-compile + (require 'gnus-sum)) (autoload 'auth-source-forget-user-or-password "auth-source") (autoload 'auth-source-user-or-password "auth-source") @@ -287,7 +291,7 @@ textual parts.") (with-current-buffer buffer (when (and nnimap-object (nnimap-last-command-time nnimap-object) - (> (time-to-seconds + (> (gnus-float-time (time-subtract now (nnimap-last-command-time nnimap-object)))