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

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

[elpa] externals/plz 370d0bbc1a 21/81: Tidy


From: ELPA Syncer
Subject: [elpa] externals/plz 370d0bbc1a 21/81: Tidy
Date: Wed, 11 May 2022 17:57:59 -0400 (EDT)

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

    Tidy
---
 plz.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/plz.el b/plz.el
index 632d53d49d..75255ae4ac 100644
--- a/plz.el
+++ b/plz.el
@@ -221,8 +221,7 @@ the initial connection attempt."
   (plz--curl 'get url
              :headers headers
              :connect-timeout connect-timeout
-             :decode (cond ((and decode-s (not decode)) nil)
-                           (t decode))
+             :decode (if (and decode-s (not decode)) nil decode)
              :as as :then then :else else))
 
 (cl-defun plz-get-sync (url &key headers as
@@ -251,8 +250,7 @@ the initial connection attempt."
   (plz--curl-sync 'get url
                   :headers headers
                   :connect-timeout connect-timeout
-                  :decode (cond ((and decode-s (not decode)) nil)
-                                (t decode))
+                  :decode (if (and decode-s (not decode)) nil decode)
                   :as as))
 
 ;;;;; Private



reply via email to

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