]> git.eshelyaron.com Git - emacs.git/commitdiff
(detect-coding-with-priority): Call
authorKenichi Handa <handa@m17n.org>
Sat, 26 Mar 2005 02:06:50 +0000 (02:06 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 26 Mar 2005 02:06:50 +0000 (02:06 +0000)
update-coding-systems-internal before detect-coding-region.

lisp/international/mule-util.el

index 513fd28bb916fbeb1231cbb2b95d40704f40fb35..7c51409422b7f84390de7f4180c8628fbfc92573 100644 (file)
@@ -327,6 +327,7 @@ coding systems ordered by priority."
         (mapc (function (lambda (x) (set (car x) (cdr x))))
               prio-list)
         (set-coding-priority (mapcar #'car prio-list))
+        (update-coding-systems-internal)
         (detect-coding-region ,from ,to))
      ;; We must restore the internal database.
      (set-coding-priority coding-category-list)