branch: elpa/graphql-mode
commit 6f6b303af47697889e9a4304dc8a776c94736b34
Merge: ab58192967 033f6a074c
Author: David Vázquez Púa <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #24 from Malabarba/master
Don't use temp buffer, as it breaks local variables
---
graphql-mode.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/graphql-mode.el b/graphql-mode.el
index c61768903e..5e800ad5b8 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -94,8 +94,7 @@ of the variables used in the query."
;; Note that we need to get the value of graphql-url in the current
;; before before we switch to the temporary one.
(let ((url graphql-url))
- (with-temp-buffer
- (graphql-post-request url query operation variables))))
+ (graphql-post-request url query operation variables)))
(declare-function request "request")
(declare-function request-response-data "request")