]> git.eshelyaron.com Git - emacs.git/commitdiff
; Actually check if NAME-OR-URL is a string
authorPhilip Kaludercic <philipk@posteo.net>
Mon, 31 Oct 2022 08:59:48 +0000 (09:59 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Mon, 31 Oct 2022 09:02:03 +0000 (10:02 +0100)
* lisp/emacs-lisp/package-vc.el (package-vc-install): Use stringp as
predicate instead of binding it as a variable.

lisp/emacs-lisp/package-vc.el

index 77a9e9e11c57c1167546e9a0bc3efd35f67a3b1c..d475010eaafd8519304965c3304114ccd0322da3 100644 (file)
@@ -581,7 +581,7 @@ repository can be set by BACKEND.  If missing,
              (and current-prefix-arg :last-release)))))
   (package-vc--archives-initialize)
   (cond
-   ((and-let* ((stringp name-or-url)
+   ((and-let* (((stringp name-or-url))
                (backend (or backend (package-vc-guess-backend name-or-url))))
       (package-vc-unpack
        (package-desc-create