diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 32d645cfcc9..a09ca2f2f29 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2842,10 +2842,12 @@ process buffer for a list of commands.)" | |||
| 2842 | (y-or-n-p "Make dedicated process? ") | 2842 | (y-or-n-p "Make dedicated process? ") |
| 2843 | (= (prefix-numeric-value current-prefix-arg) 4)) | 2843 | (= (prefix-numeric-value current-prefix-arg) 4)) |
| 2844 | (list (python-shell-calculate-command) nil t))) | 2844 | (list (python-shell-calculate-command) nil t))) |
| 2845 | (get-buffer-process | 2845 | (let ((buffer |
| 2846 | (python-shell-make-comint | 2846 | (python-shell-make-comint |
| 2847 | (or cmd (python-shell-calculate-command)) | 2847 | (or cmd (python-shell-calculate-command)) |
| 2848 | (python-shell-get-process-name dedicated) show))) | 2848 | (python-shell-get-process-name dedicated) show))) |
| 2849 | (pop-to-buffer buffer) | ||
| 2850 | (get-buffer-process buffer))) | ||
| 2849 | 2851 | ||
| 2850 | (defun run-python-internal () | 2852 | (defun run-python-internal () |
| 2851 | "Run an inferior Internal Python process. | 2853 | "Run an inferior Internal Python process. |