]> git.eshelyaron.com Git - emacs.git/commit
Mimic existing python-mode beg/end-of-defun behavior better
authorYuan Fu <casouri@gmail.com>
Wed, 9 Nov 2022 04:41:58 +0000 (20:41 -0800)
committerYuan Fu <casouri@gmail.com>
Wed, 9 Nov 2022 23:51:12 +0000 (15:51 -0800)
commit2b4d46f99be3735823666c2a6d9f058cedeb031c
tree1fb05e87489b43270cab7692b4d5fce110642fb3
parent5858921f409f6ee9d2e08dbdcd1719969a4f5544
Mimic existing python-mode beg/end-of-defun behavior better

* lisp/progmodes/python.el (python-treesit-beginning-of-defun)
(python-treesit-end-of-defun): New functions.
* lisp/progmodes/python.el (python-mode): Use custom beg/end-of-defun
functions.
lisp/progmodes/python.el