changeset 56345:84f77e8cff58

(decode-coding-inserted-region): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Sun, 04 Jul 2004 23:22:28 +0000
parents 80c137e51162
children 09f2fe5cc3c4
files lisp/international/mule.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule.el	Sun Jul 04 23:19:15 2004 +0000
+++ b/lisp/international/mule.el	Sun Jul 04 23:22:28 2004 +0000
@@ -1878,7 +1878,8 @@
 		      (coding-system-change-text-conversion coding 'raw-text)))
 	  (setq coding nil))
 	(if coding
-	    (decode-coding-region (point-min) (point-max) coding))))))
+	    (decode-coding-region (point-min) (point-max) coding)
+	  (setq last-coding-system-used coding))))))
 
 (defun make-translation-table (&rest args)
   "Make a translation table from arguments.