[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/xml-rpc 21a70769f4 49/64: Don't require cl (fix #11)
From: |
Stefan Kangas |
Subject: |
[nongnu] elpa/xml-rpc 21a70769f4 49/64: Don't require cl (fix #11) |
Date: |
Fri, 31 Dec 2021 20:11:10 -0500 (EST) |
branch: elpa/xml-rpc
commit 21a70769f4293d4228f1bceed95c69cd42faed09
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Don't require cl (fix #11)
---
xml-rpc.el | 30 ++++++++++++++----------------
1 file changed, 14 insertions(+), 16 deletions(-)
diff --git a/xml-rpc.el b/xml-rpc.el
index 6d3334db46..2f539980bf 100644
--- a/xml-rpc.el
+++ b/xml-rpc.el
@@ -208,8 +208,6 @@
(require 'xml)
(require 'url-http)
(require 'timezone)
-(eval-when-compile
- (require 'cl))
(defconst xml-rpc-maintainer-address "mah@everybody.org"
"The address where bug reports should be sent.")
@@ -254,20 +252,6 @@ Set it higher to get some info in the *Messages* buffer"
"A list of extra headers to send with the next request.
Should be an assoc list of headers/contents. See `url-request-extra-headers'")
-(defsubst xml-rpc-valuep (value)
- "Return t if VALUE is any sort of xml-rpc structure.
-
-Return nil otherwise."
- (or (xml-rpc-value-intp value)
- (xml-rpc-value-doublep value)
- (xml-rpc-value-stringp value)
- (xml-rpc-value-structp value)
- (xml-rpc-value-arrayp value)
- (xml-rpc-value-vectorp value)
- (xml-rpc-value-booleanp value)
- (xml-rpc-value-datetimep value)
- (xml-rpc-value-base64p value)))
-
;;
;; Value type handling functions
;;
@@ -357,6 +341,20 @@ sequence, or it will be confused for a list."
(and (listp value)
(eq (car value) :base64)))
+(defsubst xml-rpc-valuep (value)
+ "Return t if VALUE is any sort of xml-rpc structure.
+
+Return nil otherwise."
+ (or (xml-rpc-value-intp value)
+ (xml-rpc-value-doublep value)
+ (xml-rpc-value-stringp value)
+ (xml-rpc-value-structp value)
+ (xml-rpc-value-arrayp value)
+ (xml-rpc-value-vectorp value)
+ (xml-rpc-value-booleanp value)
+ (xml-rpc-value-datetimep value)
+ (xml-rpc-value-base64p value)))
+
(defun xml-rpc-string-to-boolean (value)
"Return t if VALUE is a boolean"
(or (string-equal value "true") (string-equal value "1")))
- [nongnu] elpa/xml-rpc ff1e22959f 50/64: Merge pull request #16 from skangas/byte-compiler-warnings, (continued)
- [nongnu] elpa/xml-rpc ff1e22959f 50/64: Merge pull request #16 from skangas/byte-compiler-warnings, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc bd359a86b1 47/64: Use libxml-parse-xml-region when available, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 31890fef63 60/64: Remove versions that don't have skip-unless, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc a2cb50528c 57/64: Tidy up a bit; remove code that shouldn't be needed in modern emacs, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc eb50e8b116 62/64: formatting, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc a876849b45 59/64: Merge pull request #18 from skangas/fix-unit-test, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 8020ccd176 64/64: Badge++ and version bump, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc f87fef0844 10/64: Override timezone-parse-date with a version that understands the ISO8601 Basic format. (xml-rpc-value-structp): Struct test should look for consp instead of lists of a certain size. (xml-rpc-value-datetimep): Use :datetime keyword to specify data type and eliminate confusion between time structs and lists. (xml-rpc-xml-list-to-value): Grok <i4> element in addition to <int>. Return dateTime values with :datetime keyword. (xml-rpc-datetime-to-string): New function to format datetime objects. (xml-rpc-value-to-xml-list): Add handling for datetime., Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 67b151da07 02/64: initial commit, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc c0e1f70586 55/64: Bump for latest, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 21a70769f4 49/64: Don't require cl (fix #11),
Stefan Kangas <=
- [nongnu] elpa/xml-rpc 3be458c44b 52/64: Merge pull request #12 from skangas/gitignore, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc ed03530706 58/64: Fix skip-unless condition in unit test, Stefan Kangas, 2021/12/31
- [nongnu] elpa/xml-rpc 8c944a1b7d 37/64: Merge pull request #1 from stsquad/extra-headers-rebase, Stefan Kangas, 2021/12/31