]> git.eshelyaron.com Git - emacs.git/commit
Make treesit-node-child and fiends accept negative index
authorYuan Fu <casouri@gmail.com>
Mon, 24 Oct 2022 01:05:10 +0000 (18:05 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 24 Oct 2022 01:05:10 +0000 (18:05 -0700)
commit591759d508024a666a863cf918287744e72b1267
tree7f7718d1e9150c2f1d6176107711afd5ce993459
parente45d8dbeea488ac14fe486e5582266980d29e82c
Make treesit-node-child and fiends accept negative index

* doc/lispref/parsing.texi (Retrieving Node): Update manual.
* src/treesit.c (Ftreesit_node_child)
(Ftreesit_node_field_name_for_child): Accept and process negative
index.
doc/lispref/parsing.texi
src/treesit.c