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

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

[elpa] externals/graphql b5a9df03ac 28/56: Separate top-level code-block


From: ELPA Syncer
Subject: [elpa] externals/graphql b5a9df03ac 28/56: Separate top-level code-blocks with empty lines
Date: Sat, 29 Oct 2022 13:57:56 -0400 (EDT)

branch: externals/graphql
commit b5a9df03ac5b9ff7f227cf56716b5032c161b7b0
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Separate top-level code-blocks with empty lines
---
 graphql.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/graphql.el b/graphql.el
index 3fb34191bf..194133fc6d 100644
--- a/graphql.el
+++ b/graphql.el
@@ -41,10 +41,13 @@
    ((and (consp obj)
          (not (consp (cdr obj))))
     (symbol-name (car obj)))))
+
 (defun graphql--encode-argument-spec (spec)
   (graphql--encode-argument (car spec) (cdr spec)))
+
 (defun graphql--encode-argument (key value)
   (format "%s:%s" key (graphql--encode-argument-value value)))
+
 (defun graphql--encode-argument-value (value)
   (cond
    ((symbolp value)
@@ -59,6 +62,7 @@
     (number-to-string value))
    (t
     (graphql--encode value))))
+
 (defun graphql--encode-parameter-spec (spec)
   "Encode a parameter SPEC.
 SPEC is expected to be of the following form:
@@ -88,6 +92,7 @@ parameter."
                                (nth 1 spec)
                                nil
                                (nthcdr 2 spec))))
+
 (defun graphql--encode-parameter (name type &optional required default)
   (format "$%s:%s%s%s"
           (symbol-name name)



reply via email to

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