1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

Add comment to last fix.

This commit is contained in:
Chong Yidong 2008-09-25 00:11:36 +00:00
parent 5273453b68
commit 64a0823127

View File

@ -2781,6 +2781,9 @@ See `term-prompt-regexp'."
str i))
(when (not funny) (setq funny str-length))
(cond ((> funny i)
;; Decode the string before counting
;; characters, to avoid garbling of certain
;; multibyte characters (bug#1006).
(setq decoded-substring
(decode-coding-string
(substring str i funny)