[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
scratch/package-vc-fixes a89f7bc1dc 27/48: Raise 'wrong-type-argument' w
From: |
Philip Kaludercic |
Subject: |
scratch/package-vc-fixes a89f7bc1dc 27/48: Raise 'wrong-type-argument' when installing package nil |
Date: |
Wed, 16 Nov 2022 04:50:04 -0500 (EST) |
branch: scratch/package-vc-fixes
commit a89f7bc1dc2bdfa8d8e06066cc708a148a39d20a
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Raise 'wrong-type-argument' when installing package nil
* lisp/emacs-lisp/package-vc.el (package-vc-install): Check if the
package is nil.
---
lisp/emacs-lisp/package-vc.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
index 8dabd42771..750847f46e 100644
--- a/lisp/emacs-lisp/package-vc.el
+++ b/lisp/emacs-lisp/package-vc.el
@@ -632,6 +632,8 @@ uses `package-vc-heuristic-alist' to guess the backend."
(and current-prefix-arg :last-release)))))
(package-vc--archives-initialize)
(cond
+ ((null name-or-url)
+ (signal 'wrong-type-argument nil))
((and-let* (((stringp name-or-url))
(backend (or backend (package-vc--guess-backend name-or-url))))
(package-vc--unpack
- scratch/package-vc-fixes 5132a2b0d0 02/48: Handle strings as keys in 'package-vc-ensure-packages', (continued)
- scratch/package-vc-fixes 5132a2b0d0 02/48: Handle strings as keys in 'package-vc-ensure-packages', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 2364faef93 32/48: Have 'vc-prepare-patch' handle prefix arguments., Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes aca27e0905 10/48: Expand 'package-vc--unpack-1' documentation, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 685b4b274b 08/48: Fix the docstring for 'package-vc--version', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes c29189587b 07/48: Fix 'package-vc-selected-packages' documentation, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 6a46e7d3ee 17/48: Move package spec documentation to 'package-vc-selected-packages', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 58b2a64225 23/48: Fix edebug spec for 'package--with-response-buffer', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes b45d2fb4b2 29/48: * lisp/emacs-lisp/package-vc.el (package-vc-update-all): Add command, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes a10cd1b927 36/48: Fix accidental generation of circular lists, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes bc9c7aee30 34/48: Improve robustness of 'package-vc-update', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes a89f7bc1dc 27/48: Raise 'wrong-type-argument' when installing package nil,
Philip Kaludercic <=
- scratch/package-vc-fixes 4730409de9 38/48: Fix the behaviour or 'byte-compile-ignore-files', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 663cb70e15 40/48: Remove temporary .texi files if used to build documentation, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 6b35279259 45/48: Fix issues related to 'package-vc-install-from-checkout', Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes c383864f96 46/48: Have 'package-delete' handle symlinked packages correctly, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 7815894592 11/48: Remove references to internal symbols from public docstrings, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 2121ef0899 12/48: Fix generation of documentation for source packages, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 4b30679030 15/48: Explain what "refreshing" a source package means, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes aab49e7baa 35/48: * lisp/emacs-lisp/package.el (package-lisp-dir): Fix return value, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes aeb386007b 04/48: Mark 'package-vc-install-selected-packages' as interactive, Philip Kaludercic, 2022/11/16
- scratch/package-vc-fixes 32310b69ab 01/48: ; Fix interactive spec for 'package-vc-refresh', Philip Kaludercic, 2022/11/16