1
0
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:
Kenichi Handa 2006-05-26 04:47:47 +00:00
parent e0b582b8e1
commit 47a355de93

View File

@ -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