]> git.eshelyaron.com Git - emacs.git/commitdiff
(no-break-space): Test `class' before `min-colors'
authorRichard M. Stallman <rms@gnu.org>
Wed, 8 Jun 2005 15:53:51 +0000 (15:53 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 8 Jun 2005 15:53:51 +0000 (15:53 +0000)
lisp/faces.el

index 9db2cc9ce971a628905998f28dc8ecb21d14cdf0..f278546154ccd9fe96866ef52f6e067f245eff3d 100644 (file)
@@ -2096,8 +2096,8 @@ Note: Other faces cannot inherit from the cursor face."
   :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