]> git.eshelyaron.com Git - emacs.git/commit
Fix Python block end predicates (bug#77941)
authorkobarity <kobarity@gmail.com>
Sun, 20 Apr 2025 12:14:46 +0000 (21:14 +0900)
committerEshel Yaron <me@eshelyaron.com>
Sat, 26 Apr 2025 17:31:04 +0000 (19:31 +0200)
commit493be614dfedc3460e892469a52677f80977584d
tree33618f7f2a14c8ebd34aaee17fb6bda23d0fa2cb
parent31b1b4abb1db4f8829daf9954ac041a9e37dc84a
Fix Python block end predicates (bug#77941)

* lisp/progmodes/python.el (python-info-statement-ends-block-p)
(python-info-end-of-block-p): Add consideration of comments.
* test/lisp/progmodes/python-tests.el
(python-info-statement-ends-block-p-3)
(python-info-end-of-block-p-3): New tests.

(cherry picked from commit 55cf15e163b407878921b4428e5436f01cf1fd90)
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el