branch: elpa/graphql-mode
commit b802f77542083aa8dd4c1672053b59eec26520cf
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
graphql-send-query: Silence byte-compiler
---
graphql-mode.el | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/graphql-mode.el b/graphql-mode.el
index 15e0e3d036..b82c7248b2 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -191,15 +191,14 @@ VARIABLES list of variables for query operation"
(with-current-buffer-window
"*GraphQL*" 'display-buffer-pop-up-window nil
(erase-buffer)
- (when (fboundp 'json-mode)
- ;; TODO: This line has been disabled temporarily as
- ;; json-mode does not support enabling the mode for buffers
- ;; without files at this point:
- ;;
- ;; https://github.com/joshwnj/json-mode/issues/55
- ;;
- ;; (json-mode)
- )
+ ;; TODO: This has been disabled temporarily as
+ ;; json-mode does not support enabling the mode for buffers
+ ;; without files at this point:
+ ;;
+ ;; https://github.com/joshwnj/json-mode/issues/55
+ ;;
+ ;; (when (fboundp 'json-mode)
+ ;; (json-mode))
(insert response)
(json-pretty-print-buffer))))
;; If the query was successful, then save the value of graphql-url