Commit 4256626a authored by Fabián Ezequiel Gallina's avatar Fabián Ezequiel Gallina
Browse files

Prevent Python process shell buffer to pop twice.

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