* lisp/gnus/nnimap.el: Require nnmail, and gnus-sum when compiling.
(nnimap-keepalive): Use gnus-float-time.
2010-11-01 Glenn Morris <rgm@gnu.org>
+ * 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.
(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")
(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)))