* wl-e21.el (wl-highlight-folder-current-line): Call `wl-folder-init-icons'
authoryamaoka <yamaoka>
Tue, 20 Feb 2001 02:02:03 +0000 (02:02 +0000)
committeryamaoka <yamaoka>
Tue, 20 Feb 2001 02:02:03 +0000 (02:02 +0000)
 when folder icons have not been initialized.

wl/ChangeLog
wl/wl-e21.el

index db1c250..6ca4e32 100644 (file)
@@ -1,5 +1,8 @@
 2001-02-20  Katsumi Yamaoka    <yamaoka@jpl.org>
 
+       * wl-e21.el (wl-highlight-folder-current-line): Call
+       `wl-folder-init-icons' when folder icons have not been initialized.
+
        * wl-vars.el (wl-demo-display-logo): Add `bitmap' to the selection.
 
        * wl-demo.el: Work also with BITMAP-MULE under Emacs 21.
index 2988fd5..8fdf43f 100644 (file)
                (overlay-put overlay 'wl-e21-icon t)
                (overlay-put overlay 'evaporate t))
              (let (type)
+               (unless (get (caar wl-folder-internal-icon-list) 'image)
+                 (wl-folder-init-icons))
                (setq image
                      (cond ((string= fld-name wl-trash-folder);; trash folder
                             (let ((num (nth 2 numbers)));; number of messages