projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dc28e1
)
Fix python-shell-switch-to-shell redisplay bug
author
Shitikanth Kashyap
<shitikanth1@gmail.com>
Mon, 12 Apr 2021 08:43:42 +0000
(10:43 +0200)
committer
Lars 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
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index e5c15d148f8a5c815eeafd0921aba72c36ca6100..30721c7a5775b47bcb5905af0ef416debc875786 100644
(file)
--- 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.