summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-10-31 09:59:48 +0100
committerPhilip Kaludercic <philipk@posteo.net>2022-10-31 10:02:03 +0100
commit462a66e79edcc34ecbeef7cc1604765adfdc038e (patch)
tree9bb2252acb2df6420e5b187afc7f9996f9e955f7 /lisp/emacs-lisp
parentc2088c0849dad7a3ba36d7a2137389713160f450 (diff)
downloademacs-462a66e79edcc34ecbeef7cc1604765adfdc038e.tar.gz
emacs-462a66e79edcc34ecbeef7cc1604765adfdc038e.tar.bz2
emacs-462a66e79edcc34ecbeef7cc1604765adfdc038e.zip
; 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.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/package-vc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 77a9e9e11c5..d475010eaaf 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