Mercurial > emacs
diff lisp/ediff-util.el @ 98856:8559c6826b7e
(ediff-make-temp-file): Unconditionally bind coding-system-for-write
to ediff-coding-system-for-write.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sun, 19 Oct 2008 08:25:25 +0000 |
parents | c3512b2085a0 |
children | eb7532b56b78 |
line wrap: on
line diff
--- a/lisp/ediff-util.el Sun Oct 19 08:24:49 2008 +0000 +++ b/lisp/ediff-util.el Sun Oct 19 08:25:25 2008 +0000 @@ -3146,11 +3146,7 @@ (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))