Prevent Python process shell buffer to pop twice.
* lisp/progmodes/python.el (python-shell-switch-to-shell): Do not call pop-to-buffer.
This commit is contained in:
parent
ca43b53625
commit
4256626a7a
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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.
|
||||
|
|
Loading…
Add table
Reference in a new issue