Mercurial > emacs
changeset 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 | 4b84377f2f72 |
children | b32a6a932f4a |
files | lisp/ediff-util.el |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
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))