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>
;; 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.