python.el: Make shell font-lock respect markers.
commit52df70a887ae8b187decb6c92cad32cf11f4c788
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 8 Feb 2015 03:25:20 +0000 (8 00:25 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 8 Feb 2015 03:25:20 +0000 (8 00:25 -0300)
treef9d14b63a886d1fd33de6b90156e15c32c016cfd
parentb480a6adda9cfd76c3f38970e257654de9eff4f2
python.el: Make shell font-lock respect markers.

Fixes: debbugs:19650

* lisp/progmodes/python.el (python-shell-font-lock-cleanup-buffer): Use
`erase-buffer`.
(python-shell-font-lock-comint-output-filter-function): Handle
newlines.
(python-shell-font-lock-post-command-hook): Respect markers on
text fontification.
lisp/ChangeLog
lisp/progmodes/python.el