emacs-diffs
[Top][All Lists]
Advanced

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

scratch/package-vc-fixes 4b0a5e30b9 16/48: Fix type error in package-vc


From: Philip Kaludercic
Subject: scratch/package-vc-fixes 4b0a5e30b9 16/48: Fix type error in package-vc prompt function
Date: Wed, 16 Nov 2022 04:50:00 -0500 (EST)

branch: scratch/package-vc-fixes
commit 4b0a5e30b9e1ed9029f049e2bd5106d0faa87e30
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    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 89ed034f0e..aa67c99cbd 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -516,7 +516,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.



reply via email to

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