]> git.eshelyaron.com Git - emacs.git/commit
Fix string end search in python-nav-end-of-statement
authorkobarity <kobarity@gmail.com>
Mon, 13 Jan 2025 13:38:42 +0000 (22:38 +0900)
committerEshel Yaron <me@eshelyaron.com>
Sat, 15 Feb 2025 19:31:57 +0000 (20:31 +0100)
commit7dc2fb6a1e28a58c19b0ee0a5463e00ca7e8f6fb
treec08516bb716a0cd6fe55d14cb4deebf427d980fe
parent94edcde8a430e392d881b1c9f463bb4949be7b20
Fix string end search in python-nav-end-of-statement

* lisp/progmodes/python.el (python-nav-end-of-statement):
Change to look for string delimiter characters and check
syntax, instead of looking for string-delimiter syntax.
* test/lisp/progmodes/python-tests.el
(python-nav-end-of-statement-5): New test.  (Bug#75387)

(cherry picked from commit 6491fee366f58a831689c57aa31493dd70bc2245)
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el