(wl-highlight-summary-line-face-spec): Make face
authorhmurata <hmurata>
Mon, 9 Feb 2004 15:47:42 +0000 (15:47 +0000)
committerhmurata <hmurata>
Mon, 9 Feb 2004 15:47:42 +0000 (15:47 +0000)
for flag if it is not defined.

wl/ChangeLog
wl/wl-highlight.el

index 4219325..c40bcb3 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-09  Hiroya Murata  <lapis-lazuli@pop06.odn.ne.jp>
+
+       * wl-highlight.el (wl-highlight-summary-line-face-spec): Make face
+       for flag if it is not defined.
+
 2004-02-09  Yuuichi Teranishi  <teranisi@gohome.org>
 
        * wl-e21.el (wl-highlight-folder-current-line): Use
index aa2cb3f..a34cae6 100644 (file)
                                  (intern (format
                                           "wl-highlight-summary-%s-flag-face"
                                           (car (car fl)))))
-                           (when (facep face)
-                             (list face)))
+                            (unless (facep face)
+                              (make-face face 'no-init)
+                              (set-face-foreground face (nth 1 (car fl))))
+                            (list face))
                          fl nil))
                  (setq fl (cdr fl)))
              (when (memq (car priorities) flags)