From d49a52e4ddb0a000ccab45d7d6ef1f803bcda808 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Sat, 26 Mar 2005 02:06:50 +0000 Subject: [PATCH] (detect-coding-with-priority): Call update-coding-systems-internal before detect-coding-region. --- lisp/international/mule-util.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/international/mule-util.el b/lisp/international/mule-util.el index 513fd28bb91..7c51409422b 100644 --- a/lisp/international/mule-util.el +++ b/lisp/international/mule-util.el @@ -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)