* lisp/vc/vc-git.el (vc-git-checkin): Use make-nearby-temp-file (bug#60011)
This commit is contained in:
parent
3efe4df1d2
commit
8c30cb90ba
1 changed files with 1 additions and 1 deletions
|
@ -1041,7 +1041,7 @@ It is based on `log-edit-mode', and has Git-specific extensions."
|
||||||
(string-replace file-diff "" vc-git-patch-string))
|
(string-replace file-diff "" vc-git-patch-string))
|
||||||
(user-error "Index not empty"))
|
(user-error "Index not empty"))
|
||||||
(setq pos (point))))))
|
(setq pos (point))))))
|
||||||
(let ((patch-file (make-temp-file "git-patch")))
|
(let ((patch-file (make-nearby-temp-file "git-patch")))
|
||||||
(with-temp-file patch-file
|
(with-temp-file patch-file
|
||||||
(insert vc-git-patch-string))
|
(insert vc-git-patch-string))
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue