1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-08 00:33:13 -08:00

(detect-coding-with-priority): Add comment before the call of

update-coding-systems-internal.
This commit is contained in:
Kenichi Handa 2005-03-29 01:27:40 +00:00
parent 6a17cee0f7
commit 0f58da4cd7

View 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))
;; Changing the binding of a coding category requires this call.
(update-coding-systems-internal)
(detect-coding-region ,from ,to))
;; We must restore the internal database.