diff options
author | Barry Warsaw <barry@python.org> | 2001-02-20 23:07:56 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-02-20 23:07:56 +0000 |
commit | ee57efae22cda131e5a48b1d1312219a7f3584b4 (patch) | |
tree | 3694763ba9841bcf73c8c3e0d56fbea3f07cd1f4 /Misc/python-mode.el | |
parent | acb5baba79749f30ddfba1b76fca5304802832df (diff) | |
download | cpython-ee57efae22cda131e5a48b1d1312219a7f3584b4.tar.gz |
(py-execute-region): This one's easy... kill the temporary file's
buffer after executing its contents.
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r-- | Misc/python-mode.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 3952b4d677..b780b752ac 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 |