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