]> git.eshelyaron.com Git - emacs.git/commit
Fix hiding a Python block ending with a comment
authorkobarity <kobarity@gmail.com>
Sat, 25 May 2024 14:20:10 +0000 (23:20 +0900)
committerEshel Yaron <me@eshelyaron.com>
Mon, 10 Jun 2024 07:26:20 +0000 (09:26 +0200)
commit56e1dcbec2baf6ea495d370d3e42ddb2a2f106a0
tree21b8faf6ab2f78f389820de904c7e49a09a06fa9
parent49711b1c7a56e5836b944c9ab356bc6207addb24
Fix hiding a Python block ending with a comment

* lisp/progmodes/python.el (python-hideshow-forward-sexp-function): Move
point to the end of the line.
* test/lisp/progmodes/python-tests.el (python-hideshow-hide-block-2):
New test.  (Bug#71170)

(cherry picked from commit 25ab3e7be8b1c71b5939682c5b5fe6810807bcc5)
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el