diff options
author | Yuan Fu <casouri@gmail.com> | 2023-09-27 00:21:40 -0700 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2023-10-08 22:00:36 -0700 |
commit | 73ccd9d2959aba36b2433c5c6d0a3bc81114e76d (patch) | |
tree | 9a8ccd9b30aa99d198d8f680f0c8a5509e7cf40e /lisp/treesit.el | |
parent | 53292c5d8186dfac5c82b0d16a10d91c691ae75f (diff) | |
download | emacs-73ccd9d2959aba36b2433c5c6d0a3bc81114e76d.tar.gz emacs-73ccd9d2959aba36b2433c5c6d0a3bc81114e76d.tar.bz2 emacs-73ccd9d2959aba36b2433c5c6d0a3bc81114e76d.zip |
Don't call font-lock-mode in treesit-major-mode-setup (bug#66223)
* lisp/treesit.el (treesit-major-mode-setup): Remove.
(cherry picked from commit a3a840c80a217db7d4d125c667ff7d4946507fbb)
Diffstat (limited to 'lisp/treesit.el')
-rw-r--r-- | lisp/treesit.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el index e8d57dfcd06..c4aba4c3e8d 100644 --- a/lisp/treesit.el +++ b/lisp/treesit.el @@ -2386,7 +2386,6 @@ before calling this function." '( nil nil nil nil (font-lock-fontify-syntactically-function . treesit-font-lock-fontify-region))) - (font-lock-mode 1) (treesit-font-lock-recompute-features) (dolist (parser (treesit-parser-list)) (treesit-parser-add-notifier |