From: Lars Ingebrigtsen Date: Mon, 9 Nov 2020 16:21:56 +0000 (+0100) Subject: Make the SHOW parameter work again in `run-python' X-Git-Tag: emacs-28.0.90~5208 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d9e2b80d8a9e36608c88316362e5f1bb92791d6;p=emacs.git 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). --- 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 ()