Code review comment for lp:~tcaswell-gmail/python-mode/window_fix

Revision history for this message
Thomas Caswell (tcaswell-gmail) wrote :

On Mon, Dec 24, 2012 at 7:15 AM, Andreas Roehler
<email address hidden> wrote:
> with changes of `py-execute-buffer-file' and `py-execute-buffer-finally'

Here is a patch of just those two lines.

--
Thomas Caswell
<email address hidden>

1From 8ed76840779139ba64d61e6c51f81b8a13e72acc Mon Sep 17 00:00:00 2001
2From: Thomas A Caswell <tcaswell@uchicago.edu>
3Date: Mon, 24 Dec 2012 11:57:59 -0600
4Subject: [PATCH] fixed bug with changes of `py-execute-buffer-file' and
5 `py-execute-buffer-finally'
6
7---
8 python-mode.el | 2 --
9 1 file changed, 2 deletions(-)
10
11diff --git a/python-mode.el b/python-mode.el
12index 56cca75..82c3f08 100644
13--- a/python-mode.el
14+++ b/python-mode.el
15@@ -8725,7 +8725,6 @@ When called from a programm, it accepts a string specifying a shell which will b
16 (kill-buffer localname)))
17
18 (defun py-execute-buffer-file (start end pyshellname dedicated switch nostars sepchar split file)
19- (delete-other-windows)
20 (let* ((oldbuf (current-buffer))
21 (py-exception-buffer oldbuf)
22 (pyshellname (or pyshellname (py-choose-shell)))
23@@ -8772,7 +8771,6 @@ When called from a programm, it accepts a string specifying a shell which will b
24 erg))
25
26 (defun py-execute-buffer-finally (start end &optional pyshellname dedicated switch nostars sepchar split)
27- (delete-other-windows)
28 (let* ((oldbuf (current-buffer))
29 (pyshellname (or pyshellname (py-choose-shell)))
30 (execute-directory
31--
321.8.0.2

« Back to merge proposal