branch: externals/plz commit 370d0bbc1a729e09195c1dfde3c6b457d5f1d326 Author: Adam Porter <a...@alphapapa.net> Commit: Adam Porter <a...@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