[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 73ccd9d2959 2/2: Don't call font-lock-mode in treesit-major-mod
From: |
Yuan Fu |
Subject: |
emacs-29 73ccd9d2959 2/2: Don't call font-lock-mode in treesit-major-mode-setup (bug#66223) |
Date: |
Mon, 9 Oct 2023 01:02:40 -0400 (EDT) |
branch: emacs-29
commit 73ccd9d2959aba36b2433c5c6d0a3bc81114e76d
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
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)
---
lisp/treesit.el | 1 -
1 file changed, 1 deletion(-)
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