From 534966b653181efd9d1fcef8b1bcd68b1dea7e70 Mon Sep 17 00:00:00 2001 From: yoichi Date: Thu, 15 Jul 2004 16:02:14 +0000 Subject: [PATCH] * wl-demo.el (wl-demo-setup-properties): Avoid error for XEmacs on tty --- wl/ChangeLog | 5 +++++ wl/wl-demo.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/wl/ChangeLog b/wl/ChangeLog index 7e1d86b..17b081d 100644 --- a/wl/ChangeLog +++ b/wl/ChangeLog @@ -1,3 +1,8 @@ +2004-07-16 Yoichi NAKAYAMA + + * wl-demo.el (wl-demo-setup-properties): Avoid error for XEmacs on + tty. + 2004-07-12 Yoichi NAKAYAMA * wl-action.el (wl-summary-exec): Print failure count. diff --git a/wl/wl-demo.el b/wl/wl-demo.el index 0e4849e..a7a2056 100644 --- a/wl/wl-demo.el +++ b/wl/wl-demo.el @@ -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))))) -- 1.7.10.4