(elmo-imap4-find-next-line): Check whether a label
authorhmurata <hmurata>
Wed, 1 Nov 2006 23:53:14 +0000 (23:53 +0000)
committerhmurata <hmurata>
Wed, 1 Nov 2006 23:53:14 +0000 (23:53 +0000)
of reporter is enable or not.

elmo/ChangeLog
elmo/elmo-imap4.el

index 6782ec8..fb5ef57 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-01  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * elmo-imap4.el (elmo-imap4-find-next-line): Check whether a label
+       of reporter is enable or not.
+
 2006-10-31  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
 
        * elmo-util.el (elmo-list-bigger-diff): Abolish.
index 0177d72..a367964 100644 (file)
@@ -1246,7 +1246,8 @@ Return nil if no complete line has arrived."
     (if (match-string 1)
        (if (< (point-max) (+ (point) (string-to-number (match-string 1))))
            (progn
-             (when elmo-imap4-literal-progress-reporter
+             (when (elmo-progress-counter-label
+                    elmo-imap4-literal-progress-reporter)
                (elmo-progress-counter-set-total
                 elmo-imap4-literal-progress-reporter
                 (string-to-number (match-string 1)))