changeset 60962:a3bf037cdd99

(detect-coding-with-priority): Call update-coding-systems-internal before detect-coding-region.
author Kenichi Handa <handa@m17n.org>
date Sat, 26 Mar 2005 02:06:50 +0000
parents 059ddef3ce4b
children 951cb9c59174
files lisp/international/mule-util.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/mule-util.el	Sat Mar 26 02:06:27 2005 +0000
+++ b/lisp/international/mule-util.el	Sat Mar 26 02:06:50 2005 +0000
@@ -327,6 +327,7 @@
 	 (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)