aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorYuan Fu2022-10-23 18:29:02 -0700
committerYuan Fu2022-10-23 18:29:02 -0700
commit6cf2a9c55dbf8dfbc93409340065cf02881502b1 (patch)
treeaf7c958f6ccfb0153b2fe562413e0270c3819741 /lisp/progmodes/python.el
parent524d10c86b539ef6fe27f31ed3df2590d1849a83 (diff)
downloademacs-6cf2a9c55dbf8dfbc93409340065cf02881502b1.tar.gz
emacs-6cf2a9c55dbf8dfbc93409340065cf02881502b1.zip
Make treesit-search-forward-goto accept a NODE argument
With NODE argument we can do (setq node (treesit-search-forward-goto node)) And we can choose what node to pass to it (maybe we want to pass it the largest node at point, rather than the smallest node, and in case of multiple parsers, we can choose which parser to use). * doc/lispref/parsing.texi (Retrieving Node): Update manual. * lisp/treesit.el (treesit-search-forward-goto): Accept a NODE argument.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions