diff options
| author | Shitikanth Kashyap | 2021-04-12 10:43:42 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-04-12 10:43:42 +0200 |
| commit | f2ab4cec7a762e8fe641cde00e6b299a92301cac (patch) | |
| tree | 2b29d91b388da1db8952d1e43b4758b8eb1d5393 /lisp/progmodes/python.el | |
| parent | 9dc28e1fca03b124c53c2f99add3180591896696 (diff) | |
| download | emacs-f2ab4cec7a762e8fe641cde00e6b299a92301cac.tar.gz emacs-f2ab4cec7a762e8fe641cde00e6b299a92301cac.zip | |
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
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index e5c15d148f8..30721c7a577 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 | |||
| 3385 | t when called interactively." | 3385 | t when called interactively." |
| 3386 | (interactive "p") | 3386 | (interactive "p") |
| 3387 | (pop-to-buffer | 3387 | (pop-to-buffer |
| 3388 | (process-buffer (python-shell-get-process-or-error msg)) nil t)) | 3388 | (process-buffer (python-shell-get-process-or-error msg)) |
| 3389 | nil 'mark-for-redisplay)) | ||
| 3389 | 3390 | ||
| 3390 | (defun python-shell-send-setup-code () | 3391 | (defun python-shell-send-setup-code () |
| 3391 | "Send all setup code for shell. | 3392 | "Send all setup code for shell. |