* wl-highlight.el (wl-highlight-summary-line-string): Use
authorokazaki <okazaki>
Sun, 18 Feb 2001 21:26:35 +0000 (21:26 +0000)
committerokazaki <okazaki>
Sun, 18 Feb 2001 21:26:35 +0000 (21:26 +0000)
`zerop' instead of `= 0'.
(wl-highlight-summary): Use `zerop' instead of `eq 0'.

wl/wl-highlight.el

index c818ff7..4be1ac9 100644 (file)
           (setq fsymbol 'wl-highlight-summary-low-read-face))
          ((string= temp-mark "+")
           (setq fsymbol 'wl-highlight-summary-high-read-face))
-         (t (if (= 0 (length indent))
+         (t (if (zerop (length indent))
                 (setq fsymbol 'wl-highlight-summary-thread-top-face)
               (setq fsymbol 'wl-highlight-summary-normal-face))))
     (put-text-property 0 (length line) 'face fsymbol line))
@@ -1012,7 +1012,7 @@ interpreted as cited text.)"
                (when (> lines elmo-display-progress-threshold)
                  (setq i (+ i 1))
                  (setq percent (/ (* i 100) lines))
-                 (if (or (eq (% percent 5) 0) (= i lines))
+                 (if (or (zerop (% percent 5)) (= i lines))
                      (elmo-display-progress
                       'wl-highlight-summary "Highlighting..."
                       percent)))