]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode-coding-inserted-region): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Sun, 4 Jul 2004 23:22:28 +0000 (23:22 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 4 Jul 2004 23:22:28 +0000 (23:22 +0000)
lisp/international/mule.el

index 2f7101719fab5ea3e14b4806439150fa2fe28cbc..8b4ba9b2ce3fcdfe6ed0f081f3773daec1b8bff2 100644 (file)
@@ -1878,7 +1878,8 @@ of the function `insert-file-contents'."
                      (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.