diff options
| author | Leo Liu | 2012-04-25 23:23:19 +0800 |
|---|---|---|
| committer | Leo Liu | 2012-04-25 23:23:19 +0800 |
| commit | daf75653c2f1301332eb6c8af830050794ae0877 (patch) | |
| tree | 7ba67c85572d004478cd50babd94d9a9e0c69f33 /lisp/progmodes/python.el | |
| parent | 07875ee72bffac01a1978d0367883d6ceb88cc55 (diff) | |
| download | emacs-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.el | 2 |
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. |