]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix python-shell-switch-to-shell redisplay bug
authorShitikanth Kashyap <shitikanth1@gmail.com>
Mon, 12 Apr 2021 08:43:42 +0000 (10:43 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 12 Apr 2021 08:43:42 +0000 (10:43 +0200)
* lisp/progmodes/python.el (python-shell-switch-to-shell):
Redisplay the switched-to window faster (bug#47679).

Copyright-paperwork-exempt: yes

lisp/progmodes/python.el

index e5c15d148f8a5c815eeafd0921aba72c36ca6100..30721c7a5775b47bcb5905af0ef416debc875786 100644 (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.