branch: elpa/graphql-mode
commit 4c87cdab5721c497f95c11cafcc0efd054c9992d
Author: David Vazquez Pua <[email protected]>
Commit: David Vazquez Pua <[email protected]>
Fix: make the graphql-url buffer-local before the mode is enabled
---
graphql-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/graphql-mode.el b/graphql-mode.el
index 859171922d..91ffdd0c71 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -30,6 +30,7 @@
(defvar graphql-url
nil)
+(make-variable-buffer-local 'graphql-url)
(defun graphql--query (query)
"Send QUERY to the server at `graphql-url' and return the