projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f850d8
)
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>
Wed, 27 Sep 2023 07:21:40 +0000
(
00:21
-0700)
* lisp/treesit.el (treesit-major-mode-setup): Remove.
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index 64d6841a101e9d95c2ea4f8d79d6b5217dfcaf88..0790ad7e011b9e251fbfeba9b3930c3eb47aa6cc 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-2733,7
+2733,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