From 8cf42182b8da79bb4a2f2f704fa0d627304f5165 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= Date: Fri, 26 Dec 2014 17:14:18 -0300 Subject: [PATCH] Revert "Prevent Python process shell buffer to pop twice." This reverts commit 4256626a7ac486446f4dea9c12df3057053825a7. --- lisp/ChangeLog | 6 ------ lisp/progmodes/python.el | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4c6b23dac0b..8d231a487e3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -4643,12 +4643,6 @@ string delimiter. (python-mode): Use it. -2014-07-28 Fabián Ezequiel Gallina - - 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 * progmodes/python.el diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 35e24e14e1c..47c6a90bbde 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -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. -- 2.39.2