# HG changeset patch # User Richard M. Stallman # Date 1118246031 0 # Node ID bd94b75dbfe8e21a46bf78dc9f854e0a1b9404eb # Parent be61de52f9536eb9228802da4df5f85e8c0d1c5f (no-break-space): Test `class' before `min-colors' diff -r be61de52f953 -r bd94b75dbfe8 lisp/faces.el --- 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