mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(archive-set-buffer-as-visiting-file): Call
find-operation-coding-system with (FILENAME . BUFFER).
This commit is contained in:
parent
b87f5fcce9
commit
e0b582b8e1
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue