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:
parent
137c0a6773
commit
8e9e2c18da
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue