From: Dan Nicolaescu Date: Sat, 27 Dec 2008 17:57:25 +0000 (+0000) Subject: (term-emulate-terminal): Decode substring just prior to X-Git-Tag: emacs-pretest-23.0.90~850 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fe3a1c1dd292fa11d6cf27c7f7ee2e60fe6844f3;p=emacs.git (term-emulate-terminal): Decode substring just prior to inserting it, i.e. revert part of the 2008-09-24 change. (Bug#1469) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5cda871b6e6..20b3e91c0a1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/term.el b/lisp/term.el index c459e65faf4..bdb2f18bf7f 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -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))