mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
fix(tree-sitter): autodef treesit-available-p
This way, whether the module is enabled or not, `treesit-available-p`
will exist, even in Emacs build without treesit.
Amend: a51690f033
This commit is contained in:
parent
78068a8f31
commit
5ca9b7a37a
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
;; In case of Emacs builds where treesit isn't built in (to avoid void-function
|
||||
;; errors and verbose, redundant checks everywhere).
|
||||
;;;###autoload
|
||||
;;;###autodef
|
||||
(unless (fboundp 'treesit-available-p)
|
||||
(defun treesit-available-p ()
|
||||
"Return non-nil if tree-sitter support is built-in and available."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue