From: Kenichi Handa Date: Sat, 26 Mar 2005 02:06:50 +0000 (+0000) Subject: (detect-coding-with-priority): Call X-Git-Tag: ttn-vms-21-2-B4~1505 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d49a52e4ddb0a000ccab45d7d6ef1f803bcda808;p=emacs.git (detect-coding-with-priority): Call update-coding-systems-internal before detect-coding-region. --- 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)