branch: externals/yaml
commit d8f676b54d766c3eca68fc5b5fd67830f2cecb9f
Author: Zachary Romero <zacrom...@posteo.net>
Commit: Zachary Romero <zacrom...@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