From 40dd812fa3258999a73db709df603dde74d7d577 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 22 Nov 2013 20:20:31 -0800 Subject: [PATCH] Revert previous python.el change --- lisp/ChangeLog | 5 ----- lisp/progmodes/python.el | 2 -- 2 files changed, 7 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8c9e57fd8c2..ede723e6d6b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,8 +1,3 @@ -2013-11-23 Jorgen Schaefer (tiny change) - - * progmodes/python.el (python-shell--save-temp-file): - Delete temp-file when done. (Bug#15647) - 2013-11-23 Ivan Shmakov (tiny change) * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index b3918e906e9..7a90f0bb5ee 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -2046,8 +2046,6 @@ 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)) -- 2.39.2