diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 1999-10-15 16:03:59 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 1999-10-15 16:03:59 +0000 |
commit | c9308d3104f0cc8b96b6a9c57a5f7441794dc230 (patch) | |
tree | e2082e0399a6b3ed0f9dcee8dc1c4ad1bee3d6aa /lisp/ediff-util.el | |
parent | d6f64cbe0f3483fb33d621d8f46ad4d10dca3090 (diff) | |
download | emacs-c9308d3104f0cc8b96b6a9c57a5f7441794dc230.tar.gz |
Use make-temp-file.
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 |