1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00

(encode-hz-region): Do not bind

enable-multibyte-characters to nil locally.
This commit is contained in:
Kenichi Handa 1998-02-04 11:25:01 +00:00
parent 17bf0affd3
commit 39e0da627d

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