Commit 64a08231 authored by Chong Yidong's avatar Chong Yidong
Browse files

Add comment to last fix.

parent 5273453b
......@@ -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
(substring str i funny)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment