2010-09-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * nnimap.el (nnimap-command): Register the last command time so
+ that we can use it for idling NOOPs.
+
* starttls.el: (starttls-open-stream): Add autoload cookie.
2010-09-24 Michael Welsh Duggan <md5i@md5i.com> (tiny change)
"Internal variable with default value for `nnimap-split-download-body'.")
(defstruct nnimap
- group process commands capabilities select-result newlinep server)
+ group process commands capabilities select-result newlinep server
+ last-command-time)
(defvar nnimap-object nil)
(defun nnimap-command (&rest args)
(erase-buffer)
+ (setf (nnimap-last-command-time) (current-time))
(let* ((sequence (apply #'nnimap-send-command args))
(response (nnimap-get-response sequence)))
(if (equal (caar response) "OK")