diff options
| author | Yuan Fu | 2022-10-23 18:23:17 -0700 |
|---|---|---|
| committer | Yuan Fu | 2022-10-23 18:23:17 -0700 |
| commit | 524d10c86b539ef6fe27f31ed3df2590d1849a83 (patch) | |
| tree | 2b151c9d700a38f7d761370a37202cb2e1a63638 /lisp/progmodes/python.el | |
| parent | 591759d508024a666a863cf918287744e72b1267 (diff) | |
| download | emacs-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