Fix shell handling of unbalanced quotes and parens in output.
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 8 Oct 2012 21:30:36 +0000 (18:30 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 8 Oct 2012 21:30:36 +0000 (18:30 -0300)
commita5b773c40ce950ac004be26b9f1bc4fcf985276b
tree6f49df0073c003ec04969191c72460609823477f
parent2b1f11ed71db0344deb3c469bba09bd2cda3f0bd
Fix shell handling of unbalanced quotes and parens in output.
* progmodes/python.el (python-rx-constituents): Added
string-delimiter.
(python-syntax-propertize-function): Use it.
(python-shell-output-syntax-table): New var.
(inferior-python-mode): Prevent unbalanced parens/quotes from
previous output mess with current input context.
lisp/ChangeLog
lisp/progmodes/python.el