Revert "Prevent Python process shell buffer to pop twice."

This reverts commit 4256626a7a.
This commit is contained in:
Fabián Ezequiel Gallina 2014-12-26 17:14:18 -03:00
parent 807c3413c4
commit 8cf42182b8
2 changed files with 1 additions and 7 deletions

View file

@ -4643,12 +4643,6 @@
string delimiter.
(python-mode): Use it.
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

View file

@ -2860,7 +2860,7 @@ If DELETE is non-nil, delete the file afterwards."
(defun python-shell-switch-to-shell ()
"Switch to inferior Python process buffer."
(interactive)
(process-buffer (python-shell-get-or-create-process)) t)
(pop-to-buffer (process-buffer (python-shell-get-or-create-process)) t))
(defun python-shell-send-setup-code ()
"Send all setup code for shell.