changeset 103744:af834dcfac23

(reset-language-environment): Put the highset priority to the charset iso-8859-1.
author Kenichi Handa <handa@m17n.org>
date Tue, 07 Jul 2009 06:27:53 +0000
parents 5c9fcfe64010
children aa8c2eb03e10
files lisp/international/mule-cmds.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Tue Jul 07 06:27:23 2009 +0000
+++ b/lisp/international/mule-cmds.el	Tue Jul 07 06:27:53 2009 +0000
@@ -1795,6 +1795,12 @@
     (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
   ;; that it supported a minute ago.