From 21ef90eecf200cdb75d4d4ab9e8502db10b825ca Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 30 Jul 1995 10:10:35 +0000 Subject: [PATCH] (set-face-background): Don't treat nil as a color. --- lisp/faces.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/faces.el b/lisp/faces.el index bf9c3302284..438b148f46d 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -149,7 +149,7 @@ in that frame; otherwise change each frame." (interactive (internal-face-interactive "background")) ;; For a specific frame, use gray stipple instead of gray color ;; if the display does not support a gray color. - (if (and frame (not (eq frame t)) + (if (and frame (not (eq frame t)) color (not (face-color-supported-p frame color t))) (set-face-stipple face face-default-stipple frame) (if (null frame) -- 2.39.2