Mercurial > cpython-lru_cache-weakref
diff Misc/python-mode.el @ 2795:ea38c363de58 legacy-trunk
(py-shell): cope with make-comint instead of make-shell
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Wed, 05 Jul 1995 22:06:50 +0000 |
| parents | 1b9e90353529 |
| children | ebc1714dc738 |
line wrap: on
line diff
--- a/Misc/python-mode.el Tue Jun 27 13:18:14 1995 +0000 +++ b/Misc/python-mode.el Wed Jul 05 22:06:50 1995 +0000 @@ -563,7 +563,8 @@ (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))
