[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r115198: * lisp/progmodes/python.el (python-shell--s
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] trunk r115198: * lisp/progmodes/python.el (python-shell--save-temp-file): Tiny change |
Date: |
Sat, 23 Nov 2013 03:13:22 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 115198
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15647
author: Jorgen Schaefer <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2013-11-22 19:13:16 -0800
message:
* lisp/progmodes/python.el (python-shell--save-temp-file): Tiny change
Delete temp-file when done.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/progmodes/python.el python.el-20091113204419-o5vbwnq5f7feedwu-3008
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2013-11-23 02:55:17 +0000
+++ b/lisp/ChangeLog 2013-11-23 03:13:16 +0000
@@ -1,3 +1,8 @@
+2013-11-23 Jorgen Schaefer <address@hidden> (tiny change)
+
+ * progmodes/python.el (python-shell--save-temp-file):
+ Delete temp-file when done. (Bug#15647)
+
2013-11-23 Ivan Shmakov <address@hidden> (tiny change)
* vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
=== modified file 'lisp/progmodes/python.el'
--- a/lisp/progmodes/python.el 2013-11-05 09:47:47 +0000
+++ b/lisp/progmodes/python.el 2013-11-23 03:13:16 +0000
@@ -2046,6 +2046,8 @@
(with-temp-file temp-file-name
(insert "# -*- coding: utf-8 -*-\n") ;Not needed for Python-3.
(insert string)
+ (insert (format "\n\nimport os ; os.remove('''%s''')\n"
+ temp-file-name))
(delete-trailing-whitespace))
temp-file-name))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r115198: * lisp/progmodes/python.el (python-shell--save-temp-file): Tiny change,
Glenn Morris <=