summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2003-03-06 08:14:37 +0000
committerJuanma Barranquero <lekktu@gmail.com>2003-03-06 08:14:37 +0000
commit81be39f76610d6ee944f1c18f0e302ad3d57b917 (patch)
treeb35fd287d402907d9eb6bb241e2c195a69833043
parentd52d0ae8af9000396e685d85be69abbe1ae19ea5 (diff)
downloademacs-81be39f76610d6ee944f1c18f0e302ad3d57b917.tar.gz
(frame-set-background-mode): Fix reference to attribute "backgroundMode".
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/faces.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index af4afdd5807..d766be588a4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-06 Juanma Barranquero <lektu@terra.es>
+
+ * faces.el (frame-set-background-mode): Fix reference to attribute
+ "backgroundMode".
+
2003-03-05 Juanma Barranquero <lektu@terra.es>
* startup.el (command-line-x-option-alist): Make --border-color set
diff --git a/lisp/faces.el b/lisp/faces.el
index b161eb75f2a..58e4c16407b 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -1383,7 +1383,7 @@ 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")))
+ (x-get-resource "backgroundMode" "BackgroundMode")))
(bg-color (frame-parameter frame 'background-color))
(bg-mode
(cond (frame-background-mode)