summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-11-05 16:56:51 (GMT)
committerBarry Warsaw <barry@python.org>1997-11-05 16:56:51 (GMT)
commita9ce70f3bcd7d4f1754fbb1df43f48fdb189ff4d (patch)
tree03e88b78a5bbce30f3bcaa1ccbb033071ca101b7 /Misc
parent2518c6798470c0e7e7bf4c4477a12561c49febfe (diff)
downloadcpython-a9ce70f3bcd7d4f1754fbb1df43f48fdb189ff4d.zip
cpython-a9ce70f3bcd7d4f1754fbb1df43f48fdb189ff4d.tar.gz
cpython-a9ce70f3bcd7d4f1754fbb1df43f48fdb189ff4d.tar.bz2
(py-execute-region): Fixed small bug with queuing file for execution
in a py-shell. Temp files now get cleaned up.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python-mode.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index f6aa2e3..94dadf6 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -1049,9 +1049,8 @@ is inserted at the end. See also the command `py-clear-queue'."
;; use the existing python shell
(if (not py-file-queue)
(py-execute-file proc file)
- (push file py-file-queue)
(message "File %s queued for execution" file))
- )
+ (push file py-file-queue))
(t
;; otherwise either run it synchronously in a subprocess
(shell-command-on-region start end py-python-command outbuf)