[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 27cafd1 2/6: lisp/net/soap-client.el: Shorten some
From: |
Thomas Fitzsimmons |
Subject: |
[Emacs-diffs] master 27cafd1 2/6: lisp/net/soap-client.el: Shorten some long lines |
Date: |
Thu, 25 May 2017 10:01:12 -0400 (EDT) |
branch: master
commit 27cafd13683d6a33abbf08e4f32401b51e70f349
Author: Thomas Fitzsimmons <address@hidden>
Commit: Thomas Fitzsimmons <address@hidden>
lisp/net/soap-client.el: Shorten some long lines
* lisp/net/soap-client.el (soap-encode-xs-element): Remove
unnecessary progn.
(soap-xs-add-union): Wrap long line.
Co-authored-by: Stefan Monnier <address@hidden>
---
lisp/net/soap-client.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/net/soap-client.el b/lisp/net/soap-client.el
index 922f698..48cf6ec 100644
--- a/lisp/net/soap-client.el
+++ b/lisp/net/soap-client.el
@@ -895,9 +895,8 @@ This is a specialization of `soap-encode-value' for
(setf (soap-xs-element-type^ new-element)
(soap-xs-complex-type-base type))
(cl-loop for i below (length value)
- do (progn
- (soap-encode-xs-element (aref value
i) new-element)
- )))
+ do (soap-encode-xs-element
+ (aref value i) new-element)))
(soap-encode-value value type))
(insert "</" fq-name ">\n"))
;; else
@@ -1163,7 +1162,8 @@ See also `soap-wsdl-resolve-references'."
"Add union members defined in XML NODE to TYPE, an `soap-xs-simple-type'."
(cl-assert (eq (soap-l2wk (xml-node-name node)) 'xsd:union)
nil
- "expecting xsd:union node, got %s" (soap-l2wk (xml-node-name
node)))
+ "expecting xsd:union node, got %s"
+ (soap-l2wk (xml-node-name node)))
(setf (soap-xs-simple-type-base type)
(mapcar 'soap-l2fq
- [Emacs-diffs] master updated (1a9ce7c -> 9fb9e4b), Thomas Fitzsimmons, 2017/05/25
- [Emacs-diffs] master 27cafd1 2/6: lisp/net/soap-client.el: Shorten some long lines,
Thomas Fitzsimmons <=
- [Emacs-diffs] master 9a6ac27 3/6: lisp/net/soap-client.el: Require cl-lib version 0.6.1, Thomas Fitzsimmons, 2017/05/25
- [Emacs-diffs] master a928cfa 4/6: Fix two soap-client.el byte compilation warnings, Thomas Fitzsimmons, 2017/05/25
- [Emacs-diffs] master 9fb9e4b 6/6: lisp/net/soap-client.el: Bump version to 3.1.2, Thomas Fitzsimmons, 2017/05/25
- [Emacs-diffs] master 4fa8336 5/6: Fix soap-inspect.el doc strings, Thomas Fitzsimmons, 2017/05/25
- [Emacs-diffs] master 349fbb3 1/6: Remove cl dependency in soap-client.el and soap-inspect.el, Thomas Fitzsimmons, 2017/05/25