From bf0b0c9c73d4793beb11e6125496d0e72d4dd67a Mon Sep 17 00:00:00 2001 From: Joseph Turner Date: Sat, 25 Nov 2023 14:57:45 -0800 Subject: [PATCH] Ensure that directory is expanded in package-vc-checkout * lisp/emacs-lisp/package-vc.el (package-vc-checkout): Expand DIRECTORY. (Bug#66115) --- 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 c7a30736e32..2a5f14b3ee3 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el @@ -829,6 +829,7 @@ for the last released version of the package." (lambda (dir) (or (not (file-exists-p dir)) (directory-empty-p dir)))) (and current-prefix-arg :last-release)))) + (setf directory (expand-file-name directory)) (package-vc--archives-initialize) (let ((pkg-spec (or (package-vc--desc->spec pkg-desc) (and-let* ((extras (package-desc-extras pkg-desc)) -- 2.39.2