[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master db28ba29dd 40/42: Ensure 'package-vc-prepare-patch' runs in the r
|
From: |
Philip Kaludercic |
|
Subject: |
master db28ba29dd 40/42: Ensure 'package-vc-prepare-patch' runs in the right directory |
|
Date: |
Thu, 17 Nov 2022 14:56:25 -0500 (EST) |
branch: master
commit db28ba29ddad0deda8aee3513d2652e95fc15342
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Ensure 'package-vc-prepare-patch' runs in the right directory
* lisp/emacs-lisp/package-vc.el (package-vc-prepare-patch): Bind
'default-directory'.p
---
lisp/emacs-lisp/package-vc.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 7edecddaa1..84c4dda6f4 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -780,8 +780,9 @@ marked revisions, use those."
(and (not vc-prepare-patches-separately)
(read-string "Subject: " "[PATCH] " nil nil t))
(vc-prepare-patch-prompt-revisions)))
- (vc-prepare-patch (package-maintainers pkg-desc t)
- subject revisions))
+ (let ((default-directory (package-desc-dir pkg-desc)))
+ (vc-prepare-patch (package-maintainers pkg-desc t)
+ subject revisions)))
(provide 'package-vc)
;;; package-vc.el ends here
- master a6cd44734d 18/42: Remove unused variable in 'package-vc--unpack', (continued)
- master a6cd44734d 18/42: Remove unused variable in 'package-vc--unpack', Philip Kaludercic, 2022/11/17
- master fd4da9151f 28/42: * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call', Philip Kaludercic, 2022/11/17
- master c8e5069e6d 24/42: Add new command 'package-vc-update-all', Philip Kaludercic, 2022/11/17
- master 345bfd376e 31/42: Add missing elpa-package.eld to package test resources, Philip Kaludercic, 2022/11/17
- master 4aee4cde3a 26/42: Explain that 'package-vc-install' doesn't remove tarball packages, Philip Kaludercic, 2022/11/17
- master 11cb810356 32/42: Fix the behaviour of 'byte-compile-ignore-files', Philip Kaludercic, 2022/11/17
- master 874d8a418f 35/42: Only fetch elpa-packages.eld when necessary, Philip Kaludercic, 2022/11/17
- master 5b8f165f75 38/42: Fix issues related to 'package-vc-install-from-checkout', Philip Kaludercic, 2022/11/17
- master fb6d62f881 41/42: ; Clarify what a package specification is, Philip Kaludercic, 2022/11/17
- master 0b77909cac 39/42: Avoid duplicate source packages in 'package-alist', Philip Kaludercic, 2022/11/17
- master db28ba29dd 40/42: Ensure 'package-vc-prepare-patch' runs in the right directory,
Philip Kaludercic <=
- master 17889dd828 42/42: * lisp/emacs-lisp/package-vc.el: Autoload package-vc-update{, -all}, Philip Kaludercic, 2022/11/17