]> git.eshelyaron.com Git - emacs.git/commit
Avoid hangs in python-mode with debug-on-error set
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 18 Apr 2022 11:17:32 +0000 (13:17 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 18 Apr 2022 11:19:57 +0000 (13:19 +0200)
commit1b7736277114bf91012b817a4e2557625b7340a5
treee9cf1e7c4b7a0d742a76b5874baf91bd9b83a16d
parent4684b8e62f882b2a0f29d89a49bd5da8fad1218f
Avoid hangs in python-mode with debug-on-error set

* lisp/progmodes/python.el (python-nav-end-of-statement): Avoid
using cl-assert here, because this is called from the font-lock
machinery, and if debug-on-error is set here, we'll hang Emacs
(bug#54996).

Do not merge to master.
lisp/progmodes/python.el