From 0d9e2b80d8a9e36608c88316362e5f1bb92791d6 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 9 Nov 2020 17:21:56 +0100 Subject: [PATCH] Make the SHOW parameter work again in `run-python' * lisp/progmodes/python.el (run-python): Make the SHOW parameter work again after the fix for 31398 (bug#44421). --- lisp/progmodes/python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index d6feba254b4..378ff8cc2c1 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -2921,7 +2921,7 @@ process buffer for a list of commands.)" (python-shell-make-comint (or cmd (python-shell-calculate-command)) (python-shell-get-process-name dedicated) show))) - (pop-to-buffer buffer) + (set-buffer buffer) (get-buffer-process buffer))) (defun run-python-internal () -- 2.39.2