diff options
| author | Kenichi Handa | 2006-03-08 11:56:05 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-03-08 11:56:05 +0000 |
| commit | f04781a9cd2cca4737956994572b5b0fd1df4248 (patch) | |
| tree | 41c301d6bb2b7fb3165c44584e4dcd6c732ef2e3 | |
| parent | 471e43f118afd565a0eb7d660164a7494ef43457 (diff) | |
| download | emacs-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.el | 5 |
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)) |