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

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

[nongnu] elpa/graphql-mode dec32e6441 021/122: Fix package dependencies


From: ELPA Syncer
Subject: [nongnu] elpa/graphql-mode dec32e6441 021/122: Fix package dependencies
Date: Sat, 29 Jan 2022 08:03:30 -0500 (EST)

branch: elpa/graphql-mode
commit dec32e6441e7e78175ca6f3b0a3255c4fe2540b7
Author: Syohei YOSHIDA <shohei.yoshida@dena.com>
Commit: Syohei YOSHIDA <shohei.yoshida@dena.com>

    Fix package dependencies
    
    - Set minimum Emacs version for using setq-local
    - Add json-mode
---
 graphql-mode.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/graphql-mode.el b/graphql-mode.el
index 7484b40536..900498595f 100644
--- a/graphql-mode.el
+++ b/graphql-mode.el
@@ -4,6 +4,7 @@
 
 ;; Author: David Vazquez Pua <davazp@gmail.com>
 ;; Keywords: languages
+;; Package-Requires: ((emacs "24.3") (json-mode "1.7.0"))
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -27,6 +28,8 @@
 (require 'newcomment)
 (require 'json)
 (require 'url)
+(require 'json-mode)
+(require 'cl-lib)
 
 (defvar graphql-url
   nil)
@@ -127,7 +130,7 @@ response from the server."
 
 ;;; Check if the point is in an argument list.
 (defun graphql--in-arguments-p ()
-  (let ((opening (second (syntax-ppss))))
+  (let ((opening (cl-second (syntax-ppss))))
     (eql (char-after opening) ?\()))
 
 



reply via email to

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