* lisp/progmodes/python.el (python-shell-switch-to-shell): Do not call
pop-to-buffer.
+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
(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.