Commit daf75653 authored by Leo Liu's avatar Leo Liu
Browse files

* progmodes/python.el (python-send-region): Add suffix .py

parent 07875ee7
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment