Commit 4896d285 authored by David Byers's avatar David Byers
Browse files

Fixed a bug where I assumed x-display-color-p would work even if X

wasn't in use.
parent 141797b6
......@@ -1265,7 +1265,8 @@ Users are encouraged to use their best sense of humor.")
(,@ body))))
(if (x-display-color-p)
(if (and (eq window-system 'x)
(x-display-color-p))
(progn
(lyskom-make-face 'kom-active-face
(copy-face 'default 'kom-active-face)
......
......@@ -1340,7 +1340,8 @@ Users are encouraged to use their best sense of humor.")
(,@ body))))
(if (x-display-color-p)
(if (and (eq window-system 'x)
(x-display-color-p))
(progn
(lyskom-make-face 'kom-active-face
(copy-face 'default 'kom-active-face)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment