* wl-demo.el (wl-demo-setup-properties): Avoid error for XEmacs on tty
authoryoichi <yoichi>
Thu, 15 Jul 2004 16:02:14 +0000 (16:02 +0000)
committeryoichi <yoichi>
Thu, 15 Jul 2004 16:02:14 +0000 (16:02 +0000)
wl/ChangeLog
wl/wl-demo.el

index 7e1d86b..17b081d 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-16  Yoichi NAKAYAMA  <yoichi@geiin.org>
+
+       * wl-demo.el (wl-demo-setup-properties): Avoid error for XEmacs on
+       tty.
+
 2004-07-12  Yoichi NAKAYAMA  <yoichi@geiin.org>
 
        * wl-action.el (wl-summary-exec): Print failure count.
index 0e4849e..a7a2056 100644 (file)
@@ -301,7 +301,8 @@ Return a number of lines that an image occupies in the buffer."
                                  (list ':background bg))
                                (when (stringp fg)
                                  (list ':foreground fg))))))
-   ((featurep 'xemacs)
+   ((and (featurep 'xemacs)
+        (face-background-name 'wl-highlight-demo-face))
     (set-face-background 'default
                         (face-background-name 'wl-highlight-demo-face)
                         (current-buffer)))))