changeset 89679:6e3a816383a4

(set-locale-environment): Insert locale-translation-file-name in a unibyte buffer.
author Kenichi Handa <handa@m17n.org>
date Mon, 29 Dec 2003 07:50:35 +0000
parents 5af19e9c7f53
children 9f9a2db0bc5a
files lisp/international/mule-cmds.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-cmds.el	Mon Dec 29 07:50:17 2003 +0000
+++ b/lisp/international/mule-cmds.el	Mon Dec 29 07:50:35 2003 +0000
@@ -2250,6 +2250,7 @@
       ;; using the translation file that many systems have.
       (when locale-translation-file-name
 	(with-temp-buffer
+	  (set-buffer-multibyte nil)
 	  (insert-file-contents locale-translation-file-name)
 	  (when (re-search-forward
 		 (concat "^" (regexp-quote locale) ":?[ \t]+") nil t)