aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2004-06-11 06:03:16 +0000
committerKenichi Handa2004-06-11 06:03:16 +0000
commitae0916f8e03c83b4138256b5c66f2abe8eccd75f (patch)
treee78f087b5fa08032fdb50257953eeb07e851d8c8
parent00d3976d873a3df9862b02b0fcccffe446be0306 (diff)
downloademacs-ae0916f8e03c83b4138256b5c66f2abe8eccd75f.tar.gz
emacs-ae0916f8e03c83b4138256b5c66f2abe8eccd75f.zip
Temporarily set utf-translate-cjk-mode to nil.
-rw-r--r--lisp/international/characters.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index 809c457c6e1..c33bd2eb43f 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -33,6 +33,11 @@
33 33
34;;; Code: 34;;; Code:
35 35
36;; We must set utf-translate-cjk-mode to nil while loading this file
37;; to avoid translating CJK characters in decode-char.
38(defvar saved-utf-translate-cjk-mode utf-translate-cjk-mode)
39(setq utf-translate-cjk-mode nil)
40
36;;; Predefined categories. 41;;; Predefined categories.
37 42
38;; For each character set. 43;; For each character set.
@@ -1277,6 +1282,10 @@
1277 (put-charset-property (car l) 'nospace-between-words t) 1282 (put-charset-property (car l) 'nospace-between-words t)
1278 (setq l (cdr l)))) 1283 (setq l (cdr l))))
1279 1284
1285
1286(setq utf-translate-cjk-mode saved-utf-translate-cjk-mode)
1287(makunbound 'saved-utf-translate-cjk-mode)
1288
1280;;; Local Variables: 1289;;; Local Variables:
1281;;; coding: iso-2022-7bit 1290;;; coding: iso-2022-7bit
1282;;; End: 1291;;; End: