* lisp/progmodes/python.el (python-shell-get-buffer): New function.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 30 Oct 2013 01:28:36 +0000 (21:28 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 30 Oct 2013 01:28:36 +0000 (21:28 -0400)
commit195ee2f0a990771753330ee912581da957eee034
tree1254bd3972fa69777897dd164e82946cb862624c
parent4c9797cb77cee0d72084567ed8a7e97fcf41abff
* lisp/progmodes/python.el (python-shell-get-buffer): New function.
(python-shell-get-process): Use it.
(python-shell-send-string): Always use utf-8 and add a cookie to tell
Python which encoding was used.  Don't split-string since we only care
about the first line.  Return the temp-file, if applicable.
(python-shell-send-region): Tell compile.el how to turn locations in
the temp-file into locations in the source buffer.
lisp/ChangeLog
lisp/progmodes/python.el