]> code.delx.au - gnu-emacs/commit
* lisp/progmodes/python.el: Fix up last change.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 Nov 2013 19:14:58 +0000 (14:14 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 Nov 2013 19:14:58 +0000 (14:14 -0500)
commite5afbcacfab50bb3cceb95bb778a1a4cbb90eda0
treedaf06aab2617a57a43f292be40f91bdecb77eb2d
parentc8b09927b5ae87b19e8880614ac2b23e3c0df6e6
* lisp/progmodes/python.el: Fix up last change.
(python-shell--save-temp-file): New function.
(python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
`string' comes from the current buffer.
(python-shell-send-string-no-output): Remove `msg' arg.
(python--use-fake-loc): New var.
(python-shell-buffer-substring): Obey it.  Try to compensate for the
extra coding line added by python-shell--save-temp-file.
(python-shell-send-region): Use python-shell--save-temp-file and
python-shell-send-file directly.  Add `nomain' argument.
(python-shell-send-buffer): Use python-shell-send-region.
(python-electric-pair-string-delimiter): New function.
(python-mode): Use it.
lisp/ChangeLog
lisp/progmodes/python.el