projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53292c5
)
Don't call font-lock-mode in treesit-major-mode-setup (bug#66223)
author
Yuan Fu
<casouri@gmail.com>
Wed, 27 Sep 2023 07:21:40 +0000
(
00:21
-0700)
committer
Yuan Fu
<casouri@gmail.com>
Mon, 9 Oct 2023 05:00:36 +0000
(22:00 -0700)
* lisp/treesit.el (treesit-major-mode-setup): Remove.
(cherry picked from commit
a3a840c80a217db7d4d125c667ff7d4946507fbb
)
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index e8d57dfcd060b2b361d2f63a7aedefadeb182d3b..c4aba4c3e8d22c841486d1466eb67853b52e1f50 100644
(file)
--- 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