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

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

[nongnu] elpa/graphql-mode 6f6b303af4 084/122: Merge pull request #24 fr


From: ELPA Syncer
Subject: [nongnu] elpa/graphql-mode 6f6b303af4 084/122: Merge pull request #24 from Malabarba/master
Date: Sat, 29 Jan 2022 08:03:37 -0500 (EST)

branch: elpa/graphql-mode
commit 6f6b303af47697889e9a4304dc8a776c94736b34
Merge: ab58192967 033f6a074c
Author: David Vázquez Púa <davazp@gmail.com>
Commit: GitHub <noreply@github.com>

    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")



reply via email to

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