# HG changeset patch # User Dan Nicolaescu # Date 1230400645 0 # Node ID 070aff1c88e9925c71a6258c6bb35d60894bf085 # Parent 0a3d5993b567336de4b85ecaaef7f16917215008 (term-emulate-terminal): Decode substring just prior to inserting it, i.e. revert part of the 2008-09-24 change. (Bug#1469) diff -r 0a3d5993b567 -r 070aff1c88e9 lisp/ChangeLog --- a/lisp/ChangeLog Sat Dec 27 17:10:24 2008 +0000 +++ b/lisp/ChangeLog Sat Dec 27 17:57:25 2008 +0000 @@ -1,3 +1,8 @@ +2008-12-27 Nicholas Maniscalco (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 * makefile.w32-in (MH_E_DIR): New variable. diff -r 0a3d5993b567 -r 070aff1c88e9 lisp/term.el --- a/lisp/term.el Sat Dec 27 17:10:24 2008 +0000 +++ b/lisp/term.el Sat Dec 27 17:57:25 2008 +0000 @@ -2834,7 +2834,7 @@ ;; 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))