changeset 12725:968d38f57f3a

(set-face-background): Don't treat nil as a color.
author Richard M. Stallman <rms@gnu.org>
date Sun, 30 Jul 1995 10:10:35 +0000
parents c3cb2b06e05f
children 835314018265
files lisp/faces.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/faces.el	Sun Jul 30 07:08:49 1995 +0000
+++ b/lisp/faces.el	Sun Jul 30 10:10:35 1995 +0000
@@ -149,7 +149,7 @@
   (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)