Mercurial > emacs
changeset 90644:9b62e05dedf6
(create-fontset-from-fontset-spec): Fix
script name handling.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 30 Oct 2006 06:52:47 +0000 |
parents | 02275d5d2f2c |
children | 7eeafaaa9eab |
files | lisp/international/fontset.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/fontset.el Mon Oct 30 06:52:04 2006 +0000 +++ b/lisp/international/fontset.el Mon Oct 30 06:52:47 2006 +0000 @@ -790,8 +790,9 @@ (setq idx (match-end 0)) (setq target (intern (match-string 1 fontset-spec))) (cond ((or (eq target 'ascii) - (memq target (char-table-extra-slot char-script-table 0)) - (setq script (cdr (assq script charset-script-alist)))) + (memq target (char-table-extra-slot char-script-table 0))) + (push (list target (match-string 2 fontset-spec)) fontlist)) + ((setq script (cdr (assq target charset-script-alist))) (push (list script (match-string 2 fontset-spec)) fontlist)) ((charsetp target) (push (list target (match-string 2 fontset-spec)) fontlist))))