]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Ensure that directory is expanded in package-vc-checkout"
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Dec 2023 15:06:45 +0000 (10:06 -0500)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Dec 2023 15:06:45 +0000 (10:06 -0500)
This reverts commit bf0b0c9c73d4793beb11e6125496d0e72d4dd67a.
It is only needed in Emacs 29.

lisp/emacs-lisp/package-vc.el

index 77f156f20ef864c57c50c63995061eeaacfef8b0..9780e4d53de92b953090afc19bad721de1cdf0f3 100644 (file)
@@ -941,7 +941,6 @@ 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))