Mercurial > emacs
diff lisp/ediff-util.el @ 26039:fb6b9c37cdc4
Use make-temp-file.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 15 Oct 1999 16:03:59 +0000 |
parents | 4b1d22478c9f |
children | 4f315ca65976 |
line wrap: on
line diff
--- a/lisp/ediff-util.el Fri Oct 15 15:48:53 1999 +0000 +++ b/lisp/ediff-util.el Fri Oct 15 16:03:59 1999 +0000 @@ -2922,14 +2922,14 @@ ;; 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