diff options
author | Philip Kaludercic <philipk@posteo.net> | 2022-11-10 19:18:00 +0100 |
---|---|---|
committer | Philip Kaludercic <philipk@posteo.net> | 2022-11-17 20:37:28 +0100 |
commit | 2b93d0e6f1f23e050d1be09efc71ed3f8571b661 (patch) | |
tree | 08003b00915f71aa12c1292558557bf37086c0fe /lisp/emacs-lisp/package-vc.el | |
parent | c53c5f388470188632d518df68cff1204c930c49 (diff) | |
download | emacs-2b93d0e6f1f23e050d1be09efc71ed3f8571b661.tar.gz emacs-2b93d0e6f1f23e050d1be09efc71ed3f8571b661.tar.bz2 emacs-2b93d0e6f1f23e050d1be09efc71ed3f8571b661.zip |
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.
Diffstat (limited to 'lisp/emacs-lisp/package-vc.el')
-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 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. |