emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/package+vc 462a66e79e 2/2: ; Actually check if NAME-OR-URL is a


From: Philip Kaludercic
Subject: feature/package+vc 462a66e79e 2/2: ; Actually check if NAME-OR-URL is a string
Date: Mon, 31 Oct 2022 05:02:28 -0400 (EDT)

branch: feature/package+vc
commit 462a66e79edcc34ecbeef7cc1604765adfdc038e
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    ; Actually check if NAME-OR-URL is a string
    
    * 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 | 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 77a9e9e11c..d475010eaa 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]