aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorYuan Fu2022-10-23 18:23:17 -0700
committerYuan Fu2022-10-23 18:23:17 -0700
commit524d10c86b539ef6fe27f31ed3df2590d1849a83 (patch)
tree2b151c9d700a38f7d761370a37202cb2e1a63638 /lisp/progmodes/python.el
parent591759d508024a666a863cf918287744e72b1267 (diff)
downloademacs-524d10c86b539ef6fe27f31ed3df2590d1849a83.tar.gz
emacs-524d10c86b539ef6fe27f31ed3df2590d1849a83.zip
Make treesit-node-at return the last leaf node at EOB
* doc/lispref/parsing.texi (Retrieving Node): Update manual. * lisp/treesit.el (treesit-node-at): Add a (when node) form just to be explicit, return the last leaf node if there is no node after POS.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions