]> git.eshelyaron.com Git - emacs.git/commitdiff
Prevent Python process shell buffer to pop twice.
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 28 Jul 2014 03:58:06 +0000 (00:58 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Mon, 28 Jul 2014 03:58:06 +0000 (00:58 -0300)
* lisp/progmodes/python.el (python-shell-switch-to-shell): Do not call
pop-to-buffer.

lisp/ChangeLog
lisp/progmodes/python.el

index 16ec6a08789fe69a35aed0439eaace2afc8c2a1a..0dee47e5287b339d4f64f7a454067b041e702497 100644 (file)
@@ -1,3 +1,9 @@
+2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       Prevent Python process shell buffer to pop twice.
+       * progmodes/python.el (python-shell-switch-to-shell): Do not call
+       pop-to-buffer.
+
 2014-07-28  Fabián Ezequiel Gallina  <fgallina@gnu.org>
 
        * progmodes/python.el
index f7556bcb3a9fb2fa79a317fcfc6a7ade190e0428..5ec2b865a4653fd35470d0a8bf6b5a945e2fe0ab 100644 (file)
@@ -2770,7 +2770,7 @@ If DELETE is non-nil, delete the file afterwards."
 (defun python-shell-switch-to-shell ()
   "Switch to inferior Python process buffer."
   (interactive)
-  (pop-to-buffer (process-buffer (python-shell-get-or-create-process)) t))
+  (process-buffer (python-shell-get-or-create-process)) t)
 
 (defun python-shell-send-setup-code ()
   "Send all setup code for shell.