diff options
| author | Chong Yidong | 2008-09-25 00:11:36 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-09-25 00:11:36 +0000 |
| commit | 64a0823127d130166cf41df4d601cd37161a5768 (patch) | |
| tree | 453d73542764d4d89fd3fb9ba6f257eb05c53367 | |
| parent | 5273453b6833f87c852bee6b8b39a7658ba75490 (diff) | |
| download | emacs-64a0823127d130166cf41df4d601cd37161a5768.tar.gz emacs-64a0823127d130166cf41df4d601cd37161a5768.zip | |
Add comment to last fix.
| -rw-r--r-- | lisp/term.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/term.el b/lisp/term.el index a74e271f13a..3ab8069b408 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -2781,6 +2781,9 @@ See `term-prompt-regexp'." | |||
| 2781 | str i)) | 2781 | str i)) |
| 2782 | (when (not funny) (setq funny str-length)) | 2782 | (when (not funny) (setq funny str-length)) |
| 2783 | (cond ((> funny i) | 2783 | (cond ((> funny i) |
| 2784 | ;; Decode the string before counting | ||
| 2785 | ;; characters, to avoid garbling of certain | ||
| 2786 | ;; multibyte characters (bug#1006). | ||
| 2784 | (setq decoded-substring | 2787 | (setq decoded-substring |
| 2785 | (decode-coding-string | 2788 | (decode-coding-string |
| 2786 | (substring str i funny) | 2789 | (substring str i funny) |