]> git.eshelyaron.com Git - emacs.git/commit
python.el: Improved shell font lock respecting markers.
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Tue, 10 Feb 2015 02:44:06 +0000 (23:44 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Tue, 10 Feb 2015 02:44:06 +0000 (23:44 -0300)
commit859e865e937dcc2bbd1fbbe0df3dadb16f4d5efe
tree830bdc43d3f0b7f7c06ef4183d62094f245bf764
parent21d1f8b85eec8fc1f87bb30398e449f6b20b6ecc
python.el: Improved shell font lock respecting markers.

Fixes: debbugs:19650
* lisp/progmodes/python.el
(python-shell-font-lock-get-or-create-buffer): Use special buffer name.
(python-shell-font-lock-with-font-lock-buffer): Enable font lock.
(python-shell-font-lock-post-command-hook): Fontify by copying text
properties from fontified buffer to shell, keeping markers unchanged.
(python-shell-font-lock-turn-off): Fix typo.
(python-util-text-properties-replace-name): Delete function.
lisp/ChangeLog
lisp/progmodes/python.el