branch: externals/plz
commit 65dbc0f219a45c0663e6b0aecbe7cc1d2edfe520
Author: Adam Porter <[email protected]>
Commit: Adam Porter <[email protected]>
Change/Fix: (plz--sentinel) Use exhaustive pcase
---
plz.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plz.el b/plz.el
index 22f0d232df..e92742ba9d 100644
--- a/plz.el
+++ b/plz.el
@@ -451,7 +451,7 @@ node `(elisp) Sentinels'). Kills the buffer before
returning."
(buffer process-or-buffer))))
(unwind-protect
(with-current-buffer buffer
- (pcase status
+ (pcase-exhaustive status
((or 0 "finished\n")
;; Curl exited normally: check HTTP status code.
(pcase (plz--http-status)