]> git.eshelyaron.com Git - emacs.git/commit
Fix hangs caused by unbalanced braces in Python f-strings main
authorkobarity <kobarity@gmail.com>
Sun, 15 Dec 2024 14:02:51 +0000 (23:02 +0900)
committerEshel Yaron <me@eshelyaron.com>
Sun, 15 Dec 2024 21:05:37 +0000 (22:05 +0100)
commit77962b8c74fec24324abace3dde5e5aaf5c43f26
treee4fca46f556f3388075a8f3e19b911ee2aeb8215
parentc0dcd4d7e0592f9a64fc81cf66e1ecef412007c3
Fix hangs caused by unbalanced braces in Python f-strings

* lisp/progmodes/python.el (python--font-lock-f-strings):
Temporarily bind forward-sexp-function to nil when calling
'up-list'.  (Bug#74738)

(cherry picked from commit 3c247f86b7639995c8ce2627049bcc91452d2cca)
lisp/progmodes/python.el