summaryrefslogtreecommitdiff
path: root/lisp/facemenu.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-03-12 15:27:33 +0000
committerDave Love <fx@gnu.org>2000-03-12 15:27:33 +0000
commit27cd44bcfae3ac38b85019bc1e18cb5e8e53e3d8 (patch)
tree2507f6091416441f1ef198f97e6860a41017d409 /lisp/facemenu.el
parent04c26901e2e10b145ca7facb7589a8192c56e280 (diff)
Use display-color-p.
Diffstat (limited to 'lisp/facemenu.el')
-rw-r--r--lisp/facemenu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index 49b5a386ac0..17433030042 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -614,7 +614,7 @@ no color is set and a warning is issued."
(let ((name (symbol-name symbol))
foreground)
(cond ((internal-find-face symbol))
- ((and window-system
+ ((and (display-color-p)
(or (setq foreground (string-match "^fg:" name))
(string-match "^bg:" name)))
(let ((face (make-face symbol))