]> git.eshelyaron.com Git - emacs.git/commitdiff
(enriched-decode-foreground)
authorRichard M. Stallman <rms@gnu.org>
Thu, 4 Apr 2002 20:46:55 +0000 (20:46 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 4 Apr 2002 20:46:55 +0000 (20:46 +0000)
(enriched-decode-background): Don't call facemenu-get-face.

lisp/enriched.el

index 6322957df36a3b21f68f462fd99e63c372e805e0..8edf7c730e2bccadb33e45e4e745b8bac6a956d2 100644 (file)
@@ -432,7 +432,7 @@ Return value is \(begin end name positive-p), or nil if none was found."
       (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 @@ Return value is \(begin end name positive-p), or nil if none was found."
     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>")