(set-face-background): Don't treat nil as a color.

This commit is contained in:
Richard M. Stallman
1995-07-30 10:10:35 +00:00
parent 4209f47921
commit 21ef90eecf

View File

@@ -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)