aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorYuan Fu2022-10-29 09:43:50 -0700
committerYuan Fu2022-10-29 09:43:50 -0700
commitce5ae0117e3ea009ccdd8d8f4c1365301d24f90b (patch)
treee871797a6419107980a39d441a8593c7e21ecc28 /lisp/progmodes/python.el
parentbde8e87cb7b3be0e0bc9e72c3634f108570cac3e (diff)
downloademacs-ce5ae0117e3ea009ccdd8d8f4c1365301d24f90b.tar.gz
emacs-ce5ae0117e3ea009ccdd8d8f4c1365301d24f90b.zip
Refine handling of node at point in treesit-indent
* doc/lispref/modes.texi (Parser-based Indentation): Document the semantic clearly. * lisp/treesit.el (treesit-simple-indent-presets): Replace with current-indentation. (treesit--indent-1): Now NODE always starts at BOL, and parent is always the smallest node above NODE that spans BOL. (treesit-indent): Don't use save-excurtion, no one else does.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions