[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 8c30cb90ba: * lisp/vc/vc-git.el (vc-git-checkin): Use make-near
From: |
Juri Linkov |
Subject: |
emacs-29 8c30cb90ba: * lisp/vc/vc-git.el (vc-git-checkin): Use make-nearby-temp-file (bug#60011) |
Date: |
Wed, 14 Dec 2022 03:06:16 -0500 (EST) |
branch: emacs-29
commit 8c30cb90ba9fc1a7b60c25f43697687c587bb9ad
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
* lisp/vc/vc-git.el (vc-git-checkin): Use make-nearby-temp-file (bug#60011)
---
lisp/vc/vc-git.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 38e9d5f9c9..b5959d535c 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1041,7 +1041,7 @@ It is based on `log-edit-mode', and has Git-specific
extensions."
(string-replace file-diff "" vc-git-patch-string))
(user-error "Index not empty"))
(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
(insert vc-git-patch-string))
(unwind-protect
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 8c30cb90ba: * lisp/vc/vc-git.el (vc-git-checkin): Use make-nearby-temp-file (bug#60011),
Juri Linkov <=