Fix type error in package-vc prompt function

* lisp/emacs-lisp/package-vc.el (package-vc--read-package-name):  Pass
(not allow-url) as REQUIRE-MATCH, not as INITIAL-INPUT.
This commit is contained in:
Philip Kaludercic 2022-11-10 19:18:00 +01:00
parent c53c5f3884
commit 2b93d0e6f1

View file

@ -536,7 +536,7 @@ source packages that have already been installed."
(and-let* ((extras (package-desc-extras (cadr pkg)))
(url (alist-get :url extras))
((package-vc--guess-backend url)))))))
nil (not allow-url)))
(not allow-url)))
(defun package-vc--read-package-desc (prompt &optional installed)
"Query the user for a source package and return a description with PROMPT.