branch: externals/graphql commit 553850cffda2188d406a79af23cb4ce761f2e672 Author: Sean Allred <allred.s...@gmail.com> Commit: Sean Allred <allred.s...@gmail.com>
Apply some cleanup patches from Stefan --- examples/examples.el => graphql-examples.el | 2 +- graphql.el | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/examples.el b/graphql-examples.el similarity index 97% rename from examples/examples.el rename to graphql-examples.el index 09908d0877..135d185694 100644 --- a/examples/examples.el +++ b/graphql-examples.el @@ -1,6 +1,6 @@ (require 'subr-x) (require 'json) -(require 'ghub) +(require 'ghub nil t) (require 'graphql) ;;; The following functions create diff --git a/graphql.el b/graphql.el index ba15139b84..b112e7aad2 100644 --- a/graphql.el +++ b/graphql.el @@ -58,7 +58,7 @@ SPEC is of the form..." VALUE is expected to be one of the following: * a symbol -* a 'variable', i.e. \\='($ variableName) +* a \"variable\", i.e. \\='($ variableName) * an object (as a list) * a string * a vector of values (e.g., symbols) @@ -125,7 +125,7 @@ If DEFAULT is non-nil, is the default value of the parameter." (defun graphql--get-keys (g) "Get the keyword arguments from a graph G. Returns a list where the first element is a plist of arguments -and the second is a 'clean' copy of G." +and the second is a \"clean\" copy of G." (or (and (not (consp g)) (list nil g)) (let (graph keys) @@ -181,7 +181,7 @@ and the second is a 'clean' copy of G." (defun graphql--genform-operation (args kind) "Generate the Lisp form for an operation. -ARGS is is a list ([NAME [PARAMETERS]] GRAPH) where NAME is the +ARGS is a list ([NAME [PARAMETERS]] GRAPH) where NAME is the name of the operation, PARAMETERS are its parameters, and GRAPH is the form of the actual operation.