mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(archive-set-buffer-as-visiting-file): Call
find-operation-coding-system with (FILENAME . BUFFER).
This commit is contained in:
parent
b87f5fcce9
commit
e0b582b8e1
@ -876,8 +876,9 @@ using `make-temp-file', and the generated name is returned."
|
||||
;; extracted file existed.
|
||||
(let ((file-name-handler-alist
|
||||
'(("" . archive-file-name-handler))))
|
||||
(car (find-operation-coding-system 'insert-file-contents
|
||||
filename t))))))
|
||||
(car (find-operation-coding-system
|
||||
'insert-file-contents
|
||||
(cons filename (current-buffer)) t))))))
|
||||
(if (and (not coding-system-for-read)
|
||||
(not enable-multibyte-characters))
|
||||
(setq coding
|
||||
|
Loading…
Reference in New Issue
Block a user