projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cd3db7
)
; * lisp/treesit.el (treesit--indent-1): Fix treesit-node-at usage.
author
Yuan Fu
<casouri@gmail.com>
Sat, 12 Nov 2022 05:37:29 +0000
(21:37 -0800)
committer
Yuan Fu
<casouri@gmail.com>
Sat, 12 Nov 2022 05:37:29 +0000
(21:37 -0800)
lisp/treesit.el
patch
|
blob
|
history
diff --git
a/lisp/treesit.el
b/lisp/treesit.el
index 796b85ef74b978cd8df67a831d4da7e9ed8797d9..4d1a6bdf827a59df1cfea5af9c632e7991fd02d5 100644
(file)
--- a/
lisp/treesit.el
+++ b/
lisp/treesit.el
@@
-1178,7
+1178,7
@@
Return (ANCHOR . OFFSET). This function is used by
(smallest-node
(cond ((null (treesit-parser-list)) nil)
((eq 1 (length (treesit-parser-list)))
- (treesit-node-at bol
nil nil t
))
+ (treesit-node-at bol))
((treesit-language-at (point))
(treesit-node-at bol (treesit-language-at (point))))
(t (treesit-node-at bol))))