[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r108032: * progmodes/python.el (pytho
From: |
Leo Liu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r108032: * progmodes/python.el (python-send-region): Add suffix .py |
Date: |
Wed, 25 Apr 2012 23:23:19 +0800 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 108032
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Wed 2012-04-25 23:23:19 +0800
message:
* progmodes/python.el (python-send-region): Add suffix .py
modified:
lisp/ChangeLog
lisp/progmodes/python.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-04-25 15:06:51 +0000
+++ b/lisp/ChangeLog 2012-04-25 15:23:19 +0000
@@ -9,6 +9,9 @@
2012-04-25 Leo Liu <address@hidden>
+ * 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 <address@hidden>
=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el 2012-04-24 14:58:29 +0000
+++ b/lisp/progmodes/python.el 2012-04-25 15:23:19 +0000
@@ -1601,7 +1601,7 @@
;; 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r108032: * progmodes/python.el (python-send-region): Add suffix .py,
Leo Liu <=