projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9a096f
)
; * lisp/treesit.el (treesit-update-ranges): Fix use of parser-list.
author
Yuan Fu
<casouri@gmail.com>
Thu, 7 Sep 2023 23:03:01 +0000
(16:03 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Thu, 7 Sep 2023 23:04:47 +0000
(16:04 -0700)
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index 45af47fb4baa64c457de5c53ba185509967dfaa2..266f6e6493bb8274092634d073721de96ef6c4da 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-681,7
+681,7
@@
region."
(treesit--merge-ranges
old-ranges new-ranges beg end)
(point-min) (point-max))))
- (dolist (parser (treesit-parser-list language))
+ (dolist (parser (treesit-parser-list
nil
language))
(treesit-parser-set-included-ranges
parser set-ranges))))))))