[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/graphql-mode a37919f2ab 065/122: graphql--query: Remove un
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/graphql-mode a37919f2ab 065/122: graphql--query: Remove unused lexical variable |
Date: |
Sat, 29 Jan 2022 08:03:33 -0500 (EST) |
branch: elpa/graphql-mode
commit a37919f2ab4414a35b5ba2da6090116df326d334
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
graphql--query: Remove unused lexical variable
Remove the unused lexical variable BODY. Also remove the
lexical variable URL and just use `graphql-url' directly.
---
graphql-mode.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/graphql-mode.el b/graphql-mode.el
index 5b7d65a635..485e7a07fa 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -86,10 +86,8 @@ The query is sent as a HTTP POST request to the URL at
mutation or subscription). OPERATION is a name for the
operation. VARIABLES is the JSON string that specifies the values
of the variables used in the query."
- (let* ((body (graphql-encode-json query operation variables))
- (url graphql-url))
- (with-temp-buffer
- (graphql-post-request url query operation variables))))
+ (with-temp-buffer
+ (graphql-post-request graphql-url query operation variables)))
(defun graphql-post-request (url query &optional operation variables)
"Make post request to graphql server with url and body.
- [nongnu] elpa/graphql-mode 5e294e8160 120/122: Fix parameters defined on the same line not always fontified, (continued)
- [nongnu] elpa/graphql-mode 5e294e8160 120/122: Fix parameters defined on the same line not always fontified, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode ec3c72cd28 016/122: Support enum definitions, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode ad54fdb48a 022/122: Improve package description, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 66efefd508 027/122: Add customization group and variable to customize indentation level, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode ef2933eb92 020/122: Add autoload cookie to auto-mode-alist setting, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 7d954d0045 035/122: Fix font lock to highlight whole symbols, not just words, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 3c25bf5cbd 040/122: Adapt more regexs to understand _ as part f symbols, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 36dc6e6c9d 042/122: Update with David feedback, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode dec32e6441 021/122: Fix package dependencies, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 3ddf204de7 031/122: Add mailmap to merge author lines, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode a37919f2ab 065/122: graphql--query: Remove unused lexical variable,
ELPA Syncer <=
- [nongnu] elpa/graphql-mode cf2622cb21 049/122: Update feedback from David, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode d3aa4d66e0 013/122: Extract constants and values into separate variables, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 1bff11f21c 056/122: fix the line-boundary issue to enhance {} sexp, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode ba5952590c 079/122: Merge pull request #22 from cbowdon/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 061d6d0b34 001/122: Initial commit, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode cbd07029fa 009/122: Better indentation of closing pairs, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 096df5b167 005/122: Basic line indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 3965a4c370 046/122: add request dependency, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode 52137014df 073/122: Update packages, ELPA Syncer, 2022/01/29
- [nongnu] elpa/graphql-mode c3471642f5 072/122: Merge pull request #19 from cbowdon/master, ELPA Syncer, 2022/01/29