(encode-hz-region): Do not bind
authorKenichi Handa <handa@m17n.org>
Wed, 4 Feb 1998 11:25:01 +0000 (11:25 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 4 Feb 1998 11:25:01 +0000 (11:25 +0000)
enable-multibyte-characters to nil locally.

lisp/language/china-util.el

index e70afa9..1933770 100644 (file)
@@ -159,8 +159,7 @@ Return the length of resulting text."
       ;; Chinese GB2312 -> "~{...~}"
       (goto-char (point-min))
       (if (re-search-forward "\\cc" nil t)
-         (let ((enable-multibyte-characters nil)
-               pos)
+         (let (pos)
            (goto-char (setq pos (match-beginning 0)))
            (encode-coding-region pos (point-max) 'iso-2022-7bit)
            (goto-char pos)