projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c53c5f3
)
Fix type error in package-vc prompt function
author
Philip Kaludercic
<philipk@posteo.net>
Thu, 10 Nov 2022 18:18:00 +0000
(19:18 +0100)
committer
Philip Kaludercic
<philipk@posteo.net>
Thu, 17 Nov 2022 19:37:28 +0000
(20:37 +0100)
* 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
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/package-vc.el
b/lisp/emacs-lisp/package-vc.el
index 620b21d0a1b932d4977ffde81bc6bcb53b88f595..ad12008fce440cb6cf8db26dbff17515f66da587 100644
(file)
--- 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.