+2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
+
+ * faces.el (frame-set-background-mode): `unspecified' &c are
+ symbols, not strings.
+
2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
* term/tty-colors.el (color-name-rgb-alist): Add a comment
(defun frame-set-background-mode (frame)
- "Set up the `background-mode' and `display-type' frame parameters for FRAME."
+ "Set up display-dependent faces on FRAME.
+Display-dependent faces are those which have different definitions
+according to the `background-mode' and `display-type' frame parameters."
(let* ((bg-resource
(and window-system
(x-get-resource ".backgroundMode" "BackgroundMode")))
'dark)
;; Unspecified frame background color can only happen
;; on tty's.
- ((memq bg-color '("unspecified" "unspecified-bg"))
+ ((memq bg-color '(unspecified unspecified-bg))
'dark)
- ((eq bg-color "unspecified-fg") ; inverted colors
+ ((eq bg-color 'unspecified-fg) ; inverted colors
'light)
((>= (apply '+ (x-color-values bg-color frame))
;; Just looking at the screen, colors whose