]> 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:17:32 +0000 (13:17 +0200)
commit85db21b94b23b4701930892d1eecc9a1167ed968
tree75cc7ac98d60477f5e822b75bef475084f51ba6f
parentfac640ee8608748f0c4b867080d554c1b94121bd
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).
lisp/progmodes/python.el