(set-face-background): Don't treat nil as a color.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user