]> code.delx.au - gnu-emacs/commitdiff
Fixes: debbugs:12042
authorAndreas Schwab <schwab@linux-m68k.org>
Wed, 25 Jul 2012 10:46:59 +0000 (12:46 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Wed, 25 Jul 2012 10:46:59 +0000 (12:46 +0200)
* faces.el (face-spec-reset-face): Fix last change.

lisp/ChangeLog
lisp/faces.el

index 95f59c65fc78432b93ae5911ec84939e92daac5d..a773e158e3ce8129ead8ad986b8eff0d5a14992b 100644 (file)
@@ -1,3 +1,7 @@
+2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
+
 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
 
        * emacs-lisp/pp.el (pp-display-expression): Select old selected
index a5b29823b6209bdb3951a4273cbc805354e515cb..2e1ba7798e9b39aaa6380b5225fe020d2cd0a62e 100644 (file)
@@ -1547,14 +1547,14 @@ If SPEC is nil, return nil."
              ;; temacs, prior to loading frame.el.
              (unless (and (fboundp 'display-graphic-p)
                           (display-graphic-p frame))
-               '(:family "default" :foundry "default" :width normal
+               `(:family "default" :foundry "default" :width normal
                  :height 1 :weight normal :slant normal
-                 :foreground (if (frame-parameter nil 'reverse)
-                                 "unspecified-bg"
-                               "unspecified-fg")
-                 :background (if (frame-parameter nil 'reverse)
-                                 "unspecified-fg"
-                               "unspecified-bg"))))
+                 :foreground ,(if (frame-parameter nil 'reverse)
+                                  "unspecified-bg"
+                                "unspecified-fg")
+                 :background ,(if (frame-parameter nil 'reverse)
+                                  "unspecified-fg"
+                                "unspecified-bg"))))
           ;; For all other faces, unspecify all attributes.
           (apply 'append
                  (mapcar (lambda (x) (list (car x) 'unspecified))