changeset 63140:bd94b75dbfe8

(no-break-space): Test `class' before `min-colors'
author Richard M. Stallman <rms@gnu.org>
date Wed, 08 Jun 2005 15:53:51 +0000
parents be61de52f953
children c531a8daedc6
files lisp/faces.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/faces.el	Wed Jun 08 15:45:34 2005 +0000
+++ b/lisp/faces.el	Wed Jun 08 15:53:51 2005 +0000
@@ -2096,8 +2096,8 @@
   :version "22.1")
 
 (defface no-break-space
-  '((((min-colors 88)) :inherit escape-glyph :underline t)
-    (((min-colors 8)) :background "magenta" :foreground )
+  '((((class color) (min-colors 88)) :inherit escape-glyph :underline t)
+    (((class color) (min-colors 8)) :background "magenta" :foreground )
     (t :inverse-video t))
   "Face for non-breaking space."
   :group 'basic-faces