diff options
| author | Eli Zaretskii | 1999-03-17 11:29:05 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1999-03-17 11:29:05 +0000 |
| commit | 4e2ac2d94001156abd05fd411498a98ffc130342 (patch) | |
| tree | 0d4eb1233170958755006fd139860817e8213c42 | |
| parent | bd40f1f23ab9cf2f990d166e2ecb325b354ab406 (diff) | |
| download | emacs-4e2ac2d94001156abd05fd411498a98ffc130342.tar.gz emacs-4e2ac2d94001156abd05fd411498a98ffc130342.zip | |
(set-language-environment): Fix
previous change: don't use dos-codepage when unbound.
| -rw-r--r-- | lisp/international/mule-cmds.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 68c91a75aca..cc387c32d47 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -1249,7 +1249,9 @@ specifies the character set for the major languages of Western Europe." | |||
| 1249 | (delete input-method input-method-history)))))) | 1249 | (delete input-method input-method-history)))))) |
| 1250 | (let ((nonascii (get-language-info language-name 'nonascii-translation)) | 1250 | (let ((nonascii (get-language-info language-name 'nonascii-translation)) |
| 1251 | (dos-table | 1251 | (dos-table |
| 1252 | (intern (concat "cp" dos-codepage "-nonascii-translation-table")))) | 1252 | (if (eq window-system 'pc) |
| 1253 | (intern | ||
| 1254 | (concat "cp" dos-codepage "-nonascii-translation-table"))))) | ||
| 1253 | (cond | 1255 | (cond |
| 1254 | ((char-table-p nonascii) | 1256 | ((char-table-p nonascii) |
| 1255 | (setq nonascii-translation-table nonascii)) | 1257 | (setq nonascii-translation-table nonascii)) |