1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-09 09:16:02 -08:00

(term-emulate-terminal): Decode substring just prior to

inserting it, i.e. revert part of the 2008-09-24 change. (Bug#1469)
This commit is contained in:
Dan Nicolaescu 2008-12-27 17:57:25 +00:00
parent bda28f63f8
commit fe3a1c1dd2
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-12-27 Nicholas Maniscalco <nicholas@maniscalco.com> (tiny change)
* term.el (term-emulate-terminal): Decode substring just prior to
inserting it, i.e. revert part of the 2008-09-24 change. (Bug#1469)
2008-12-27 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in (MH_E_DIR): New variable.

View file

@ -2834,7 +2834,7 @@ See `term-prompt-regexp'."
;; following point if not eob nor insert-mode.
(let ((old-column (current-column))
columns pos)
(insert decoded-substring)
(insert (decode-coding-string (substring str i funny) locale-coding-system))
(setq term-current-column (current-column)
columns (- term-current-column old-column))
(when (not (or (eobp) term-insert-mode))