summaryrefslogtreecommitdiff
path: root/lisp/international/mule-util.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2005-03-26 02:06:50 +0000
committerKenichi Handa <handa@m17n.org>2005-03-26 02:06:50 +0000
commitd49a52e4ddb0a000ccab45d7d6ef1f803bcda808 (patch)
tree25c69afc93d3ddf2b9e51cbd7838c8b2e639c719 /lisp/international/mule-util.el
parent835da4eea0715bacbc02877703256c889218b711 (diff)
downloademacs-d49a52e4ddb0a000ccab45d7d6ef1f803bcda808.tar.gz
(detect-coding-with-priority): Call
update-coding-systems-internal before detect-coding-region.
Diffstat (limited to 'lisp/international/mule-util.el')
-rw-r--r--lisp/international/mule-util.el1
1 files changed, 1 insertions, 0 deletions
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)