emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f2ab4ce 2/2: Fix python-shell-switch-to-shell redisplay bug


From: Lars Ingebrigtsen
Subject: master f2ab4ce 2/2: Fix python-shell-switch-to-shell redisplay bug
Date: Mon, 12 Apr 2021 04:44:04 -0400 (EDT)

branch: master
commit f2ab4cec7a762e8fe641cde00e6b299a92301cac
Author: Shitikanth Kashyap <shitikanth1@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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
---
 lisp/progmodes/python.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index e5c15d1..30721c7 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]