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

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

[elpa] externals/graphql 3eb2416913 36/56: Make sure 'plain' cons cell k


From: ELPA Syncer
Subject: [elpa] externals/graphql 3eb2416913 36/56: Make sure 'plain' cons cell keys are not cons cells themselves
Date: Sat, 29 Oct 2022 13:58:03 -0400 (EDT)

branch: externals/graphql
commit 3eb2416913d663997053e576450ebdcadb033f27
Author: Sean Allred <code@seanallred.com>
Commit: Sean Allred <code@seanallred.com>

    Make sure 'plain' cons cell keys are not cons cells themselves
---
 graphql.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphql.el b/graphql.el
index 7b0fb57d83..0d43955c69 100644
--- a/graphql.el
+++ b/graphql.el
@@ -150,7 +150,7 @@ parameter."
                           (mapcar (lambda (edge) (alist-get 'node edge))
                                   edges))))
     ;; When we encounter a plain cons cell (not a list), let it pass
-    (`(,key . ,(and value (guard (not (consp value)))))
+    (`(,(and key (guard (not (consp key)))) . ,(and value (guard (not (consp 
value)))))
      (cons key value))
     ;; symbols should pass unaltered
     (`,(and symbol (guard (symbolp symbol)))



reply via email to

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