]> git.eshelyaron.com Git - emacs.git/commit
python.el: Fix python-shell-buffer-substring on indented code
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 23 Aug 2015 22:55:54 +0000 (19:55 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 23 Aug 2015 22:56:47 +0000 (19:56 -0300)
commitaf013e0d4a76f0a2fd4a0e76912e8e49ae86ec2e
treef8da1577054fc099af4606ec0b38d2d72e0dcd29
parent41cb0162c5bcf440dca36afcd493db585e8c4901
python.el: Fix python-shell-buffer-substring on indented code

Fixes: debbugs:21086
* lisp/progmodes/python.el (python-shell-buffer-substring):
Respect current line indentation when calculating string.

* test/automated/python-tests.el
(python-shell-buffer-substring-10)
(python-shell-buffer-substring-11)
(python-shell-buffer-substring-12): New tests.
lisp/progmodes/python.el
test/automated/python-tests.el