diff Misc/python-mode.el @ 16715:3e9396ac4ba0 legacy-trunk

(py-execute-region): This one's easy... kill the temporary file's buffer after executing its contents.
author Barry Warsaw <barry@python.org>
date Tue, 20 Feb 2001 23:07:56 +0000
parents 8b4ca5da7dc2
children a7c514e15003
line wrap: on
line diff
--- a/Misc/python-mode.el	Tue Feb 20 22:27:43 2001 +0000
+++ b/Misc/python-mode.el	Tue Feb 20 23:07:56 2001 +0000
@@ -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 @@
 	  ))
       ;; TBD: delete the buffer
       )
-     )))
+     )
+    ;; Clean up after ourselves.
+    (kill-buffer buf)))
 
 
 ;; Code execution commands