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

This commit is contained in:
Barry Warsaw 1995-07-05 22:06:50 +00:00
parent f74f63a43f
commit 6e98f3350f
1 changed files with 2 additions and 1 deletions

View File

@ -563,7 +563,8 @@ filter."
(progn
(require 'shell)
(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)
(setq shell-prompt-pattern "^>>> \\|^\\.\\.\\. ")
(set-process-filter (get-buffer-process (current-buffer))