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

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

[elpa] externals/graphql e755652074 23/56: Various metadata


From: ELPA Syncer
Subject: [elpa] externals/graphql e755652074 23/56: Various metadata
Date: Sat, 29 Oct 2022 13:57:54 -0400 (EDT)

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

    Various metadata
---
 graphql.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/graphql.el b/graphql.el
index a57baacd01..5c2ef15881 100644
--- a/graphql.el
+++ b/graphql.el
@@ -5,6 +5,7 @@
 ;; Author: Sean Allred <code@seanallred.com>
 ;; Keywords: hypermedia, tools, lisp
 ;; Package-Version: 0
+;; Package-Requires: ((emacs "25"))
 
 ;; 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
@@ -73,6 +74,11 @@ required.  A value of `!' is recommended.
 
 A non-nil value for DEFAULT will provide a default value for the
 parameter."
+  ;; Unfortunately can't use `pcase' here because the first DEFAULT
+  ;; value (in the case of a complex value) might be misunderstood as
+  ;; the value for REQUIRED.  We need to know if the third cons is the
+  ;; very last one; not just that the list has at least three
+  ;; elements.
   (if (eq (last spec) (nthcdr 2 spec))
       (graphql--encode-parameter (nth 0 spec)
                                  (nth 1 spec)



reply via email to

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