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 | 767d12f23e80ebf247671e277f897c468f659b03 (patch) | |
tree | 5fd077bc47f3965d445717ca3a23463228416078 /lisp/ediff-util.el | |
parent | 93c8d183eee3a992940ebae612cc90eea1095ba9 (diff) | |
download | emacs-767d12f23e80ebf247671e277f897c468f659b03.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 |