From: Barry Warsaw Date: Tue, 20 Feb 2001 23:07:56 +0000 (+0000) Subject: (py-execute-region): This one's easy... kill the temporary file's X-Git-Tag: v2.1b1~253 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=715346060abe7385376aaeaa4da57dd6b7513e92;p=thirdparty%2FPython%2Fcpython.git (py-execute-region): This one's easy... kill the temporary file's buffer after executing its contents. --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 3952b4d67786..b780b752ac05 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -2,7 +2,7 @@ ;; Copyright (C) 1992,1993,1994 Tim Peters -;; Author: 1995-1998 Barry A. Warsaw +;; Author: 1995-2001 Barry A. Warsaw ;; 1992-1994 Tim Peters ;; Maintainer: python-mode@python.org ;; Created: Feb 1992 @@ -1341,7 +1341,9 @@ is inserted at the end. See also the command `py-clear-queue'." )) ;; TBD: delete the buffer ) - ))) + ) + ;; Clean up after ourselves. + (kill-buffer buf))) ;; Code execution commands