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

wl/ChangeLog
wl/wl-e21.el

index 84e2bd1..dd20128 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 ce261d8..399f9e8 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