mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-22 18:35:09 +00:00
(decode-coding-inserted-region): Call
find-operation-coding-system with (FILENAME . BUFFER).
This commit is contained in:
parent
e0b582b8e1
commit
47a355de93
@ -1986,7 +1986,8 @@ Part of the job of this function is setting `buffer-undo-list' appropriately."
|
||||
(or coding
|
||||
(setq coding (car (find-operation-coding-system
|
||||
'insert-file-contents
|
||||
filename visit beg end replace))))
|
||||
(cons filename (current-buffer))
|
||||
visit beg end replace))))
|
||||
(if (coding-system-p coding)
|
||||
(or enable-multibyte-characters
|
||||
(setq coding
|
||||
|
Loading…
Reference in New Issue
Block a user