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

Fix python-shell-switch-to-shell redisplay bug

* lisp/progmodes/python.el (python-shell-switch-to-shell):
Redisplay the switched-to window faster (bug#47679).

Copyright-paperwork-exempt: yes
This commit is contained in:
Shitikanth Kashyap 2021-04-12 10:43:42 +02:00 committed by Lars Ingebrigtsen
parent 9dc28e1fca
commit f2ab4cec7a

View file

@ -3385,7 +3385,8 @@ user-friendly message if there's no process running; defaults to
t when called interactively."
(interactive "p")
(pop-to-buffer
(process-buffer (python-shell-get-process-or-error msg)) nil t))
(process-buffer (python-shell-get-process-or-error msg))
nil 'mark-for-redisplay))
(defun python-shell-send-setup-code ()
"Send all setup code for shell.