mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(ediff-make-temp-file): Unconditionally bind coding-system-for-write
to ediff-coding-system-for-write.
This commit is contained in:
parent
595072327a
commit
f9fc24a60e
1 changed files with 1 additions and 5 deletions
|
|
@ -3146,11 +3146,7 @@ Hit \\[ediff-recenter] to reset the windows afterward."
|
|||
(defun ediff-make-temp-file (buff &optional prefix given-file start end)
|
||||
(let* ((p (ediff-convert-standard-filename (or prefix "ediff")))
|
||||
(short-p p)
|
||||
(coding-system-for-write
|
||||
(ediff-with-current-buffer buff
|
||||
(if (boundp 'buffer-file-coding-system)
|
||||
buffer-file-coding-system
|
||||
ediff-coding-system-for-write)))
|
||||
(coding-system-for-write ediff-coding-system-for-write)
|
||||
f short-f)
|
||||
(if (and (fboundp 'msdos-long-file-names)
|
||||
(not (msdos-long-file-names))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue