]> code.delx.au - gnu-emacs/commitdiff
(set-face-attribute): Fix handling of :family "FOUNDRY-FAMILY".
authorKenichi Handa <handa@m17n.org>
Tue, 19 May 2009 01:28:54 +0000 (01:28 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 19 May 2009 01:28:54 +0000 (01:28 +0000)
lisp/ChangeLog
lisp/faces.el

index bef81745c1b1c7e894d908c7f75331d05326ca28..1ce5defa5457ec991098a45e8a8d010162dbdbc3 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-19  Kenichi Handa  <handa@m17n.org>
+
+       * faces.el (set-face-attribute): Fix handling of :family
+       "FOUNDRY-FAMILY".
+
 2009-05-18  Chong Yidong  <cyd@stupidchicken.com>
 
        * register.el (register-alist): Doc fix (Bug#3311).
index 778a363b17039ac9705f2db7f2b637d616c7e053..57d6bd7dcb35c88aa282c9e60e653d9812692ba0 100644 (file)
@@ -725,8 +725,8 @@ like an underlying face would be, with higher priority than underlying faces."
       (when (and (stringp family)
                 (string-match "\\([^-]*\\)-\\([^-]*\\)" family))
        (unless foundry
-         (setq foundry (match-string 2 family)))
-       (setq family (match-string 1 family)))
+         (setq foundry (match-string 1 family)))
+       (setq family (match-string 2 family)))
       (when (stringp family)
        (internal-set-lisp-face-attribute face :family (purecopy family)
                                          where))