summaryrefslogtreecommitdiff
path: root/lisp/international/utf-8.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/international/utf-8.el')
-rw-r--r--lisp/international/utf-8.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/international/utf-8.el b/lisp/international/utf-8.el
index 384d973db9f..7a57a3d099b 100644
--- a/lisp/international/utf-8.el
+++ b/lisp/international/utf-8.el
@@ -309,7 +309,10 @@ use either \\[customize] or the function
;; Here we bind coding-system-for-read to nil so that coding tags
;; in the files are respected even if the files are not yet
;; byte-compiled
- (let ((coding-system-for-read nil))
+ (let ((coding-system-for-read nil)
+ ;; We must avoid clobbering this variable, in case the load
+ ;; files below use different coding systems.
+ (last-coding-system-used last-coding-system-used))
(cond ((string= "Korean" current-language-environment)
(load "subst-jis")
(load "subst-big5")