From 2f3f040a31fb7487880a880c693f1080cf26c976 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 20 Jun 2000 10:46:48 +0000 Subject: [PATCH] (enriched-decode-foreground, enriched-decode-background): Don't use internal-find-face. --- lisp/enriched.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/enriched.el b/lisp/enriched.el index 08c0cec8955..a6c11d1bc6b 100644 --- a/lisp/enriched.el +++ b/lisp/enriched.el @@ -442,7 +442,7 @@ Return value is \(begin end name positive-p), or nil if none was found." (let ((face (intern (concat "fg:" color)))) (cond ((null color) (message "Warning: no color specified for ")) - ((internal-find-face face)) + ((facep face)) ((and (display-color-p) (facemenu-get-face face))) ((make-face face) (message "Warning: color `%s' can't be displayed" color))) @@ -452,7 +452,7 @@ Return value is \(begin end name positive-p), or nil if none was found." (let ((face (intern (concat "bg:" color)))) (cond ((null color) (message "Warning: no color specified for ")) - ((internal-find-face face)) + ((facep face)) ((and (display-color-p) (facemenu-get-face face))) ((make-face face) (message "Warning: color `%s' can't be displayed" color))) -- 2.39.2