emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0d9e2b8: Make the SHOW parameter work again in `run-python'


From: Lars Ingebrigtsen
Subject: master 0d9e2b8: Make the SHOW parameter work again in `run-python'
Date: Mon, 9 Nov 2020 11:22:06 -0500 (EST)

branch: master
commit 0d9e2b80d8a9e36608c88316362e5f1bb92791d6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 d6feba2..378ff8c 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 ()



reply via email to

[Prev in Thread] Current Thread [Next in Thread]