From: Richard M. Stallman Date: Sun, 30 Jul 1995 10:10:35 +0000 (+0000) Subject: (set-face-background): Don't treat nil as a color. X-Git-Tag: emacs-19.34~3135 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=21ef90eecf200cdb75d4d4ab9e8502db10b825ca;p=emacs.git (set-face-background): Don't treat nil as a color. --- 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)