Commit a9ce70f3 authored by Barry Warsaw's avatar Barry Warsaw

(py-execute-region): Fixed small bug with queuing file for execution

in a py-shell.  Temp files now get cleaned up.
parent 2518c679
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment