diff options
| author | Philip Kaludercic | 2022-10-31 09:59:48 +0100 |
|---|---|---|
| committer | Philip Kaludercic | 2022-10-31 10:02:03 +0100 |
| commit | 462a66e79edcc34ecbeef7cc1604765adfdc038e (patch) | |
| tree | 9bb2252acb2df6420e5b187afc7f9996f9e955f7 | |
| parent | c2088c0849dad7a3ba36d7a2137389713160f450 (diff) | |
| download | emacs-462a66e79edcc34ecbeef7cc1604765adfdc038e.tar.gz 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.
| -rw-r--r-- | lisp/emacs-lisp/package-vc.el | 2 |
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, | |||
| 581 | (and current-prefix-arg :last-release))))) | 581 | (and current-prefix-arg :last-release))))) |
| 582 | (package-vc--archives-initialize) | 582 | (package-vc--archives-initialize) |
| 583 | (cond | 583 | (cond |
| 584 | ((and-let* ((stringp name-or-url) | 584 | ((and-let* (((stringp name-or-url)) |
| 585 | (backend (or backend (package-vc-guess-backend name-or-url)))) | 585 | (backend (or backend (package-vc-guess-backend name-or-url)))) |
| 586 | (package-vc-unpack | 586 | (package-vc-unpack |
| 587 | (package-desc-create | 587 | (package-desc-create |