emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/plz 1d3efc036c 78/81: Add: (plz) DELETE method


From: ELPA Syncer
Subject: [elpa] externals/plz 1d3efc036c 78/81: Add: (plz) DELETE method
Date: Wed, 11 May 2022 17:58:03 -0400 (EDT)

branch: externals/plz
commit 1d3efc036c9fdb7242499575e4d6bdcc928b0539
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Add: (plz) DELETE method
---
 plz.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/plz.el b/plz.el
index 910bd9e96b..62fd5563b8 100644
--- a/plz.el
+++ b/plz.el
@@ -303,7 +303,9 @@ NOQUERY is passed to `make-process', which see."
                                       (list (cons "--request" (upcase 
(symbol-name method)))
                                             ;; It appears that this must be 
the last argument
                                             ;; in order to pass data on the 
rest of STDIN.
-                                            (cons data-arg "@-"))))))
+                                            (cons data-arg "@-")))
+                                     ('delete
+                                      (list (cons "--request" (upcase 
(symbol-name method))))))))
          (curl-config (cl-loop for (key . value) in curl-config-args
                                concat (format "%s \"%s\"\n" key value)))
          (decode (pcase as



reply via email to

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