projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34b1ed3
)
; * lisp/treesit.el (treesit--indent-1): Add missing call.
author
Yuan Fu
<casouri@gmail.com>
Fri, 8 Sep 2023 16:07:46 +0000
(09:07 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Fri, 8 Sep 2023 16:08:28 +0000
(09:08 -0700)
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index c5ca492a837f6741278138c9e9957815494fe5b1..63ec880b601cc829117debcbf75cf0dc0f0e85a6 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-1625,7
+1625,8
@@
Return (ANCHOR . OFFSET). This function is used by
(local-parsers (treesit-local-parsers-at bol))
(smallest-node
(cond ((null (treesit-parser-list)) nil)
- (local-parsers (car local-parsers))
+ (local-parsers (treesit-node-at
+ bol (car local-parsers)))
((eq 1 (length (treesit-parser-list)))
(treesit-node-at bol))
((treesit-language-at (point))