]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/treesit.el: Don't require `cl-seq` directly
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 21 Oct 2023 17:40:12 +0000 (13:40 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 21 Oct 2023 17:40:12 +0000 (13:40 -0400)
lisp/treesit.el

index 879afb4c73c2738270527d6a7e23e2e42c06cad2..669f41d8015d1b9ef357b25756862b6ab00d6e05 100644 (file)
@@ -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)