From 2b93d0e6f1f23e050d1be09efc71ed3f8571b661 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Thu, 10 Nov 2022 19:18:00 +0100 Subject: [PATCH] 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. --- 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 620b21d0a1b..ad12008fce4 100644 --- a/lisp/emacs-lisp/package-vc.el +++ b/lisp/emacs-lisp/package-vc.el @@ -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. -- 2.39.2