From 161706ec3312ba329de582b12c32e09a8dfe95e8 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Sat, 21 Jan 2023 18:56:47 +0100 Subject: [PATCH] ; Actually use dummy package descriptor * lisp/emacs-lisp/package-vc.el (package-vc--unpack): Set pkg-desc if nil. This revises the changes from 70947da708c8e06e31a2930520b38bafe43dba39. --- lisp/emacs-lisp/package-vc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el index b5b8a6746a6..33bd0bfd5cd 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el @@ -601,7 +601,7 @@ how to fetch and build the package. See `package-vc--archive-spec-alist' for details. The optional argument REV specifies a specific revision to checkout. This overrides the `:branch' attribute in PKG-SPEC." (unless pkg-desc - (package-desc-create :name (car pkg-spec) :kind 'vc)) + (setq pkg-desc (package-desc-create :name (car pkg-spec) :kind 'vc))) (pcase-let* (((map :lisp-dir) pkg-spec) (name (package-desc-name pkg-desc)) (dirname (package-desc-full-name pkg-desc)) -- 2.39.2