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

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

[elpa] externals/yaml d8f676b54d 037/124: Add require for cl-lib


From: ELPA Syncer
Subject: [elpa] externals/yaml d8f676b54d 037/124: Add require for cl-lib
Date: Fri, 29 Nov 2024 15:59:57 -0500 (EST)

branch: externals/yaml
commit d8f676b54d766c3eca68fc5b5fd67830f2cecb9f
Author: Zachary Romero <zacromero@posteo.net>
Commit: Zachary Romero <zacromero@posteo.net>

    Add require for cl-lib
---
 yaml.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/yaml.el b/yaml.el
index 74ae8fd1f6..eb813e6322 100644
--- a/yaml.el
+++ b/yaml.el
@@ -32,6 +32,7 @@
 
 (require 'subr-x)
 (require 'seq)
+(require 'cl-lib)
 
 (defvar yaml--parse-debug nil
   "Turn on debugging messages when parsing YAML when non-nil.
@@ -598,7 +599,7 @@ This flag is intended for development purposes.")
     (if (stringp (car tree))
         (let ((grammar-rule (car tree))
               (text (cadr tree))
-              (children (caddr tree)))
+              (children (cl-caddr tree)))
           (let ((in-fn (cdr (assoc grammar-rule yaml--grammar-events-in)))
                 (out-fn (cdr (assoc grammar-rule yaml--grammar-events-out))))
             (when in-fn



reply via email to

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