From: Stefan Monnier Date: Sat, 21 Oct 2023 17:40:12 +0000 (-0400) Subject: * lisp/treesit.el: Don't require `cl-seq` directly X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ad355e9c6213b83e6f3cf364ea83b131e6a636a;p=emacs.git * lisp/treesit.el: Don't require `cl-seq` directly --- diff --git a/lisp/treesit.el b/lisp/treesit.el index 879afb4c73c..669f41d8015 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -32,9 +32,8 @@ ;;; Code: -(eval-when-compile (require 'cl-lib)) (eval-when-compile (require 'subr-x)) ; For `string-join'. -(require 'cl-seq) +(require 'cl-lib) (require 'font-lock) (require 'seq) @@ -2143,7 +2142,7 @@ If LANGUAGE is nil, return the first definition for THING in (copy-tree (cdr entry))) treesit-thing-settings))))) -(defalias 'treesit-thing-defined-p 'treesit-thing-definition +(defalias 'treesit-thing-defined-p #'treesit-thing-definition "Return non-nil if THING is defined.") (defun treesit-beginning-of-thing (thing &optional arg tactic)