From 96a017e43c9def35c67385759d769a064b6bf5c8 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 8 Jun 2005 15:53:51 +0000 Subject: [PATCH] (no-break-space): Test `class' before `min-colors' --- lisp/faces.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/faces.el b/lisp/faces.el index 9db2cc9ce97..f278546154c 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -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