* progmodes/python.el (python-send-region): Add suffix .py
This commit is contained in:
parent
07875ee72b
commit
daf75653c2
2 changed files with 4 additions and 1 deletions
|
@ -9,6 +9,9 @@
|
|||
|
||||
2012-04-25 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* progmodes/python.el (python-send-region): Add suffix .py to the
|
||||
temp file.
|
||||
|
||||
* files.el (auto-mode-alist): Use javascript-mode instead.
|
||||
|
||||
2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
|
||||
|
|
|
@ -1601,7 +1601,7 @@ behavior, change `python-remove-cwd-from-path' to nil."
|
|||
;; Fixme: Write a `coding' header to the temp file if the region is
|
||||
;; non-ASCII.
|
||||
(interactive "r")
|
||||
(let* ((f (make-temp-file "py"))
|
||||
(let* ((f (make-temp-file "py" nil ".py"))
|
||||
(command
|
||||
;; IPython puts the FakeModule module into __main__ so
|
||||
;; emacs.eexecfile becomes useless.
|
||||
|
|
Loading…
Add table
Reference in a new issue