* lisp/progmodes/python.el (python-shell--save-temp-file): Tiny change

Delete temp-file when done.

Fixes: debbugs:15647
This commit is contained in:
Jorgen Schaefer 2013-11-22 19:13:16 -08:00 committed by Glenn Morris
parent 50dca5dfd6
commit 09b0f3d9cf
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-11-23 Jorgen Schaefer <forcer@forcix.cx> (tiny change)
* progmodes/python.el (python-shell--save-temp-file):
Delete temp-file when done. (Bug#15647)
2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
* vc/diff-mode.el (diff-mode): Only allow diff-default-read-only

View file

@ -2046,6 +2046,8 @@ there for compatibility with CEDET.")
(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))