summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2009-07-07 05:59:45 +0000
committerKenichi Handa <handa@m17n.org>2009-07-07 05:59:45 +0000
commit4f0ea9bb2002c5cdb053597ac008c14b9a5f3b16 (patch)
tree3cb2d5116be3c6e37963028a3fddb8ccb2b2ecc1
parentd6763ac9f5738a7f0573fedb24195f8008942b3e (diff)
downloademacs-4f0ea9bb2002c5cdb053597ac008c14b9a5f3b16.tar.gz
(reset-language-environment): Put the highset priority to the charset
iso-8859-1.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/international/mule-cmds.el5
2 files changed, 10 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8ec80fccabc..814a71e11e1 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-07 Kenichi Handa <handa@m17n.org>
+
+ * international/mule-cmds.el (reset-language-environment): Put
+ the highset priority to the charset iso-8859-1.
+
2009-07-06 Michael Albinus <michael.albinus@gmx.de>
* net/tramp.el (tramp-handle-write-region): Flush file properties
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 34d4fb3830d..ac94cadad06 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -1794,6 +1794,11 @@ The default status is as follows:
(coding-system-error 'iso-latin-1))))
(setq default-process-coding-system
(cons output-coding input-coding)))
+ ;; Put the highest priority to the charset iso-8859-1 to prefer the
+ ;; registry iso8859-1 over iso8859-2 in font selection. It also
+ ;; makes unibyte-display-via-language-environment to use iso-8859-1
+ ;; as the unibyte charset.
+ (set-charset-priority 'iso-8859-1)
;; Don't alter the terminal and keyboard coding systems here.
;; The terminal still supports the same coding system