mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
(detect-coding-with-priority): Call
update-coding-systems-internal before detect-coding-region.
This commit is contained in:
parent
835da4eea0
commit
d49a52e4dd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user