summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-12-15 18:21:24 +0100
committerPhilip Kaludercic <philipk@posteo.net>2022-12-15 18:31:13 +0100
commit367022f316e22619dd223a4a0fcd523397ffc84e (patch)
tree38b9aa9ded3549233855959eca095b0397011e1b
parent3a633bdd6dfd5e65cfb95c9fe8d6dbc78abb26dd (diff)
downloademacs-367022f316e22619dd223a4a0fcd523397ffc84e.tar.gz
emacs-367022f316e22619dd223a4a0fcd523397ffc84e.tar.bz2
emacs-367022f316e22619dd223a4a0fcd523397ffc84e.zip
Ensure package directories for source packages from checkouts
* lisp/emacs-lisp/package-vc.el (package-vc-install-from-checkout): Set the :dir entry, since `package-vc--unpack-1' assumes the field is set, as is the case when invoking `package-vc--unpack'.
-rw-r--r--lisp/emacs-lisp/package-vc.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index db54e0e130e..8f0eedd2f88 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -783,6 +783,7 @@ name from the base name of DIR."
(package-vc--unpack-1
(package-desc-create
:name (intern name)
+ :dir pkg-dir
:kind 'vc)
(file-name-as-directory pkg-dir))))