changeset 29765:2ec1f9510791

(enriched-decode-foreground, enriched-decode-background): Don't use internal-find-face.
author Dave Love <fx@gnu.org>
date Tue, 20 Jun 2000 10:46:48 +0000
parents dbfcedec53b3
children 15808ae06666
files lisp/enriched.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/enriched.el	Tue Jun 20 09:58:07 2000 +0000
+++ b/lisp/enriched.el	Tue Jun 20 10:46:48 2000 +0000
@@ -442,7 +442,7 @@
   (let ((face (intern (concat "fg:" color))))
     (cond ((null color)
 	   (message "Warning: no color specified for <x-color>"))
-	  ((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 @@
   (let ((face (intern (concat "bg:" color))))
     (cond ((null color)
 	   (message "Warning: no color specified for <x-bg-color>"))
-	  ((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)))