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

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

[nongnu] elpa/graphql-mode 4c87cdab57 018/122: Fix: make the graphql-url


From: ELPA Syncer
Subject: [nongnu] elpa/graphql-mode 4c87cdab57 018/122: Fix: make the graphql-url buffer-local before the mode is enabled
Date: Sat, 29 Jan 2022 08:03:29 -0500 (EST)

branch: elpa/graphql-mode
commit 4c87cdab5721c497f95c11cafcc0efd054c9992d
Author: David Vazquez Pua <davazp@gmail.com>
Commit: David Vazquez Pua <davazp@gmail.com>

    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



reply via email to

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