aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorLeo Liu2012-04-25 23:23:19 +0800
committerLeo Liu2012-04-25 23:23:19 +0800
commitdaf75653c2f1301332eb6c8af830050794ae0877 (patch)
tree7ba67c85572d004478cd50babd94d9a9e0c69f33 /lisp/progmodes/python.el
parent07875ee72bffac01a1978d0367883d6ceb88cc55 (diff)
downloademacs-daf75653c2f1301332eb6c8af830050794ae0877.tar.gz
emacs-daf75653c2f1301332eb6c8af830050794ae0877.zip
* progmodes/python.el (python-send-region): Add suffix .py
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f88d77d214d..b00e42db4b7 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1601,7 +1601,7 @@ behavior, change `python-remove-cwd-from-path' to nil."
1601 ;; Fixme: Write a `coding' header to the temp file if the region is 1601 ;; Fixme: Write a `coding' header to the temp file if the region is
1602 ;; non-ASCII. 1602 ;; non-ASCII.
1603 (interactive "r") 1603 (interactive "r")
1604 (let* ((f (make-temp-file "py")) 1604 (let* ((f (make-temp-file "py" nil ".py"))
1605 (command 1605 (command
1606 ;; IPython puts the FakeModule module into __main__ so 1606 ;; IPython puts the FakeModule module into __main__ so
1607 ;; emacs.eexecfile becomes useless. 1607 ;; emacs.eexecfile becomes useless.