From 4f0ea9bb2002c5cdb053597ac008c14b9a5f3b16 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 7 Jul 2009 05:59:45 +0000 Subject: [PATCH] (reset-language-environment): Put the highset priority to the charset iso-8859-1. --- lisp/ChangeLog | 5 +++++ lisp/international/mule-cmds.el | 5 +++++ 2 files changed, 10 insertions(+) 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 + + * international/mule-cmds.el (reset-language-environment): Put + the highset priority to the charset iso-8859-1. + 2009-07-06 Michael Albinus * 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 -- 2.39.2