]> git.eshelyaron.com Git - emacs.git/commitdiff
Make the SHOW parameter work again in `run-python'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 9 Nov 2020 16:21:56 +0000 (17:21 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 9 Nov 2020 16:21:56 +0000 (17:21 +0100)
* lisp/progmodes/python.el (run-python): Make the SHOW parameter
work again after the fix for 31398 (bug#44421).

lisp/progmodes/python.el

index d6feba254b468c55a62062c2cdb308841e4deb9b..378ff8cc2c1c6b400e85abb58d50145f5437a98c 100644 (file)
@@ -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 ()