(enriched-decode-background): Don't call facemenu-get-face.
(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>")
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>")