From: Kenichi Handa Date: Tue, 7 Jul 2009 06:28:54 +0000 (+0000) Subject: (reset-language-environment): Put X-Git-Tag: emacs-pretest-23.1.90~2297 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a43977db50415a17a4c25eec3ac2c185a4a64731;p=emacs.git (reset-language-environment): Put the highset priority to the charset iso-8859-1. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 08bf352b55e..7196d29c477 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 Chong Yidong * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 34d4fb3830d..e67c8ea5e5c 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -1795,6 +1795,12 @@ The default status is as follows: (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.