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:
parent
5273453b68
commit
64a0823127
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user