diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-07-30 10:10:35 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-07-30 10:10:35 +0000 |
commit | 6b63e8a903a33515d9a0dd3903c645e7d0f66a6b (patch) | |
tree | a20b60d11324dcceb1a069897200f6c8a949d4f3 /lisp/faces.el | |
parent | c80fc8fcb93e811072e89db2aaec333c025e59dd (diff) | |
download | emacs-6b63e8a903a33515d9a0dd3903c645e7d0f66a6b.tar.gz |
(set-face-background): Don't treat nil as a color.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r-- | lisp/faces.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |