aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2006-03-08 11:56:05 +0000
committerKenichi Handa2006-03-08 11:56:05 +0000
commitf04781a9cd2cca4737956994572b5b0fd1df4248 (patch)
tree41c301d6bb2b7fb3165c44584e4dcd6c732ef2e3
parent471e43f118afd565a0eb7d660164a7494ef43457 (diff)
downloademacs-f04781a9cd2cca4737956994572b5b0fd1df4248.tar.gz
emacs-f04781a9cd2cca4737956994572b5b0fd1df4248.zip
(ctext-pre-write-conversion): Produce
extra designation sequence for ASCII at the end off extended segment.
-rw-r--r--lisp/international/mule.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 03d8b0f5c7c..f59a05edd1d 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -1527,6 +1527,11 @@ text, and convert it in the temporary buffer. Otherwise, convert in-place."
1527 (encode-coding-region last-pos (point) coding-system) 1527 (encode-coding-region last-pos (point) coding-system)
1528 (setq len (+ (length encoding-name) 1 1528 (setq len (+ (length encoding-name) 1
1529 (- (point) last-pos))) 1529 (- (point) last-pos)))
1530 ;; According to the spec of CTEXT, it is not
1531 ;; necessary to produding this extra
1532 ;; designation sequence, but some buggy
1533 ;; application (e.g. crxvt-gb) requires it.
1534 (insert "\e(B")
1530 (save-excursion 1535 (save-excursion
1531 (goto-char last-pos) 1536 (goto-char last-pos)
1532 (insert (format "\e%%/%d" noctets)) 1537 (insert (format "\e%%/%d" noctets))