From 367022f316e22619dd223a4a0fcd523397ffc84e Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Thu, 15 Dec 2022 18:21:24 +0100 Subject: [PATCH] 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'. --- lisp/emacs-lisp/package-vc.el | 1 + 1 file changed, 1 insertion(+) 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)))) -- 2.39.2