(set-face-attribute): Fix handling of :family "FOUNDRY-FAMILY".
This commit is contained in:
parent
1c6d1051f1
commit
3a92c09593
2 changed files with 7 additions and 2 deletions
|
@ -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).
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue