diff options
author | Yuan Fu <casouri@gmail.com> | 2022-09-07 13:20:37 -0700 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-09-07 13:20:37 -0700 |
commit | a23aec59b3a6ed2e96a89dab18f51a6310f1ac7c (patch) | |
tree | de4457cee70a2984e236141791b84eff748229ca /lisp/emacs-lisp/comp-cstr.el | |
parent | 31ad906bd00a3c624ce024f7caa62e9f0b381b37 (diff) | |
download | emacs-a23aec59b3a6ed2e96a89dab18f51a6310f1ac7c.tar.gz emacs-a23aec59b3a6ed2e96a89dab18f51a6310f1ac7c.tar.bz2 emacs-a23aec59b3a6ed2e96a89dab18f51a6310f1ac7c.zip |
Remove treesit-disabled-modes and change treesit-should-enable-p
Per emacs-devel discussion, remove treesit-disabled-modes and let
major modes to provide tree-sitter switches. I also decided to add
treesit-max-buffer-size to elisp manual despite it being a user
option. Though we should still add it to the user manual.
* doc/lispref/parsing.texi (Parsing Program Source): Update manual to
remove entries for treesit-diabled-modes and add
treesit-max-buffer-size. Also update treesit-should-enable-p.
* lisp/treesit.el (treesit-disabled-modes): Remove user option.
(treesit-maximum-size): Change to treesit-max-buffer-size.
(treesit-should-enable-p): Change to treesit-can-enable-p and remove
checks of treesit-disabled-modes.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
0 files changed, 0 insertions, 0 deletions