Commit 6e98f335 authored by Barry Warsaw's avatar Barry Warsaw

(py-shell): cope with make-comint instead of make-shell

parent f74f63a4
...@@ -563,7 +563,8 @@ filter." ...@@ -563,7 +563,8 @@ filter."
(progn (progn
(require 'shell) (require 'shell)
(switch-to-buffer-other-window (switch-to-buffer-other-window
(make-shell "Python" py-python-command)))) (apply (if (boundp 'make-shell) 'make-shell 'make-comint)
"Python" py-python-command nil))))
(make-local-variable 'shell-prompt-pattern) (make-local-variable 'shell-prompt-pattern)
(setq shell-prompt-pattern "^>>> \\|^\\.\\.\\. ") (setq shell-prompt-pattern "^>>> \\|^\\.\\.\\. ")
(set-process-filter (get-buffer-process (current-buffer)) (set-process-filter (get-buffer-process (current-buffer))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment