changeset 44392:4c958bb71cb6

(enriched-decode-foreground) (enriched-decode-background): Don't call facemenu-get-face.
author Richard M. Stallman <rms@gnu.org>
date Thu, 04 Apr 2002 20:46:55 +0000
parents 0abb30765386
children 6ae0e3db6a85
files lisp/enriched.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/enriched.el	Thu Apr 04 20:42:56 2002 +0000
+++ b/lisp/enriched.el	Thu Apr 04 20:46:55 2002 +0000
@@ -432,7 +432,7 @@
       (delete-char 1)))
 
 (defun enriched-decode-foreground (from to &optional color)
-  (if (and color (display-color-p) (facemenu-get-face face))
+  (if (and color (display-color-p))
       (list from to 'face (cons ':foreground color))
     (if (null color)
 	(message "Warning: no color specified for <x-color>")
@@ -440,7 +440,7 @@
     nil))
 
 (defun enriched-decode-background (from to &optional color)
-  (if (and color (display-color-p) (facemenu-get-face face))
+  (if (and color (display-color-p))
       (list from to 'face (cons ':background color))
     (if (null color)
 	(message "Warning: no color specified for <x-bg-color>")