+2002-09-27 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news):
+ Protect against non-existent of `nnimap-mailbox-info'.
+
2002-09-27 Simon Josefsson <jas@extundo.com>
* gnus-start.el (gnus-fixup-nnimap-unread-after-getting-new-news): New.
(when (gnus-boundp 'display-time-timer)
(display-time-event-handler)))
-;; Byte-compiler warning.
-(eval-when-compile
- (defvar nnimap-mailbox-info))
-
;;;###autoload
(defun gnus-fixup-nnimap-unread-after-getting-new-news ()
(let (server group info)
(setq info (symbol-value sym)))
(gnus-sethash group (cons (nth 2 info) (cdr (gnus-group-entry group)))
gnus-newsrc-hashtb)))
- nnimap-mailbox-info)))
+ (if (boundp 'nnimap-mailbox-info)
+ (symbol-value 'nnimap-mailbox-info)
+ (make-vector 1 0)))))
(provide 'gnus-start)