diff options
Diffstat (limited to 'lisp/ediff-util.el')
-rw-r--r-- | lisp/ediff-util.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el index 6f864639c7a..2c7936c1434 100644 --- a/lisp/ediff-util.el +++ b/lisp/ediff-util.el @@ -2922,14 +2922,14 @@ Hit \\[ediff-recenter] to reset the windows afterward." ;; name ends with .Z or .gz ;; This is needed so that patches produced by ediff will ;; have more meaningful names - (make-temp-name short-f)) + (make-temp-file short-f)) ;; Prefix is most often the same as the file name for the ;; variant. Here we are trying to use the original file name ;; but in the temp directory. ((and prefix (not (file-exists-p f))) f) ;; If a file with the orig name exists, add some random stuff ;; to it. - (t (make-temp-name short-f)))) + (t (make-temp-file short-f)))) ;; create the file (ediff-with-current-buffer buff |