]> git.eshelyaron.com Git - emacs.git/commit
Fix problem with multiline fontification in interactive Python
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 13 Oct 2021 16:44:35 +0000 (18:44 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 13 Oct 2021 17:00:31 +0000 (19:00 +0200)
commitab34293d849086a67effc52800e18bab1400ce72
tree96cd11f83ebb2d91c5c7e3f8b5b0ed74f2b2e8cd
parente494a2d00a4948a54cb6c9f403956db4526d4348
Fix problem with multiline fontification in interactive Python

* lisp/progmodes/python.el
(python-shell-font-lock-post-command-hook): When doing multi-line
(`C-c SPC') inputs, remove all the preceding lines when doing
fontification (bug#47657).
lisp/progmodes/python.el