1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00

(set-locale-environment): Insert locale-translation-file-name in a

unibyte buffer.
This commit is contained in:
Kenichi Handa 2003-12-29 07:50:35 +00:00
parent 137c0a6773
commit 8e9e2c18da

View file

@ -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)