aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorYuan Fu2022-10-23 18:47:02 -0700
committerYuan Fu2022-10-23 18:47:02 -0700
commitc120b0ebdb20cfff73dd1d43541f1ba1bbc54b74 (patch)
treeddbe737251d739fa25aa50d2a57078afcd2c9de5 /lisp/progmodes/python.el
parent6cf2a9c55dbf8dfbc93409340065cf02881502b1 (diff)
downloademacs-c120b0ebdb20cfff73dd1d43541f1ba1bbc54b74.tar.gz
emacs-c120b0ebdb20cfff73dd1d43541f1ba1bbc54b74.zip
Fix treesit-beginning/end-of-defun
Now they always move to the top-level defun (i.e., skips nested ones). * lisp/treesit.el (treesit--find-top-level-match): New function (treesit-beginning-of-defun): Goes to the top-level match. (treesit-end-of-defun): Simply move to the end of current match.
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions