From: Kenichi Handa Date: Mon, 29 Dec 2003 07:50:35 +0000 (+0000) Subject: (set-locale-environment): Insert locale-translation-file-name in a X-Git-Tag: emacs-pretest-23.0.90~8295^2~1669 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8e9e2c18da133e4cf821796e7d7997fa0d127d3a;p=emacs.git (set-locale-environment): Insert locale-translation-file-name in a unibyte buffer. --- diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index d18f368ba01..3178ec3b2b0 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -2250,6 +2250,7 @@ See also `locale-charset-language-names', `locale-language-names', ;; 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)