From: Barry Warsaw Date: Wed, 5 Nov 1997 16:56:51 +0000 (+0000) Subject: (py-execute-region): Fixed small bug with queuing file for execution X-Git-Tag: v1.5b1~121 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9ce70f3bcd7d4f1754fbb1df43f48fdb189ff4d;p=python (py-execute-region): Fixed small bug with queuing file for execution in a py-shell. Temp files now get cleaned up. --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index f6aa2e32e5..94dadf6fd4 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)