1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

@ -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.