Commit 2b1e1ff4 authored by Glenn Morris's avatar Glenn Morris
Browse files

Silence nnimap.el compilation.

* lisp/gnus/nnimap.el: Require nnmail, and gnus-sum when compiling.
(nnimap-keepalive): Use gnus-float-time.
parent 89cff466
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.
 
......
......@@ -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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment