diff options
author | Kenichi Handa <[email protected]> | 2003-01-15 05:33:18 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2003-01-15 05:33:18 +0000 |
commit | be25dab0a15be6c037c40eda2cda58cabe60dfe2 (patch) | |
tree | f57a56f08d34f94d492cb96a872a823c99e49aa2 | |
parent | 377f175fe2a35138e7bd19b5ddc15875286e47b6 (diff) |
Setup the fontset "fontset-mac" correctly.
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/term/mac-win.el | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d0296acb1b..e0efd31df9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2003-01-15 YAMAMOTO Mitsuharu <[email protected]> (tiny change) + + * term/mac-win.el: Setup the fontset "fontset-mac" correctly. + 2003-01-14 Nick Roberts <[email protected]> * gdb-ui.el: Improve commentary. diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index 25c66103dd..04989999db 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el @@ -205,10 +205,10 @@ ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman") (function (lambda (key val) (or (generic-char-p key) - (memq (char-charset key) + (memq (char-charset val) '(ascii eight-bit-control eight-bit-graphic)) - (set-fontset-font "fontset-mac" key monaco-font)))) - (get 'mac-roman-encoder 'translation-table))))) + (set-fontset-font "fontset-mac" val monaco-font)))) + (get 'mac-roman-decoder 'translation-table))))) (if (eq system-type 'darwin) ;; On Darwin filenames are encoded in UTF-8 |