[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/graphql 1f4f1a61c9 11/56: Remove graphql-encode and rep
From: |
ELPA Syncer |
Subject: |
[elpa] externals/graphql 1f4f1a61c9 11/56: Remove graphql-encode and replace it with graphql--encode |
Date: |
Sat, 29 Oct 2022 13:57:52 -0400 (EDT) |
branch: externals/graphql
commit 1f4f1a61c9cb44e6d98faaf822da25f70fabaad3
Author: Sean Allred <code@seanallred.com>
Commit: Sean Allred <code@seanallred.com>
Remove graphql-encode and replace it with graphql--encode
Weird text properties no longer seem to be a problem.
---
graphql.el | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/graphql.el b/graphql.el
index 0eb621bd50..7e6ab60e6b 100644
--- a/graphql.el
+++ b/graphql.el
@@ -72,7 +72,7 @@
(push (pop g) graph)))
(list keys (nreverse graph))))
-(defun graphql--encode (g)
+(defun graphql-encode (g)
"Encode G as a GraphQL string."
(or (graphql--encode-atom g)
(graphql--encode-list g)
@@ -92,14 +92,8 @@
(format " %S" name))
(when fields
(format " { %s }"
- (mapconcat #'graphql--encode fields " ")))))))))
+ (mapconcat #'graphql-encode fields " ")))))))))
-(defun graphql-encode (g)
- "Encode G as a GraphQL string."
- (let ((s (graphql--encode g)))
- ;; clean up
- (set-text-properties 0 (length s) nil s)
- s))
(provide 'graphql)
;;; graphql.el ends here
- [elpa] branch externals/graphql created (now 5ca5f50b5e), ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 1026c76d30 01/56: Initial commit, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 9d4179cd4a 04/56: Simplify handling of fields, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 335ec3a9c5 08/56: More appropriate function names for argument encoding, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql a8067839b6 10/56: Rename `graphql--encode-argument-pair' to `*-spec', ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 1f4f1a61c9 11/56: Remove graphql-encode and replace it with graphql--encode,
ELPA Syncer <=
- [elpa] externals/graphql adf95c1d92 16/56: Compress output, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql f9dc451ae6 18/56: Simplify object encoding, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 0756399fc9 22/56: Test unnamed query, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql b0bd6c5fd8 02/56: Create DSL and basic encoder, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql fcc32d3d71 03/56: Simplify handling of spacing optional elements, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 3bf43e2ad1 05/56: Use real names of things, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 24d278dd43 06/56: Add support for variables in object parameters, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 4d2837ddbe 07/56: Fix format bug for :name, ELPA Syncer, 2022/10/29
- [elpa] externals/graphql 210fed6a12 09/56: More appropriate name for `:name', ELPA Syncer, 2022/10/29
- [elpa] externals/graphql d299be77da 12/56: Tweak handling for numbers when encoding argument values., ELPA Syncer, 2022/10/29