Mercurial > emacs
changeset 100719:070aff1c88e9
(term-emulate-terminal): Decode substring just prior to
inserting it, i.e. revert part of the 2008-09-24 change. (Bug#1469)
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sat, 27 Dec 2008 17:57:25 +0000 |
parents | 0a3d5993b567 |
children | 87e287e416fe |
files | lisp/ChangeLog lisp/term.el |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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.
--- 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))