]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
(python-mode): Set which interpreter (CPython or JPython) to use the
authorBarry Warsaw <barry@python.org>
Wed, 28 Jul 1999 21:59:43 +0000 (21:59 +0000)
committerBarry Warsaw <barry@python.org>
Wed, 28 Jul 1999 21:59:43 +0000 (21:59 +0000)
commit11f215607e2c59741d21dc5957fbb7c4c89953b1
tree2e112f9cca542d5bd41e565f262d0681ae7ea937
parent2ab455a8fa946cb8d599018c2f861f1fe909c545
(python-mode): Set which interpreter (CPython or JPython) to use the
first time a py buffer is visited during the Emacs session.  This
ensures that py-which-shells is initialized and also guarantees that
the mode lines reflect the correct shell.  First bug found by GvR,
second one has long bugged :) me.

(py-toggle-shells): Programmatically, arg can also take the symbols
`cpython' or `jpython', which makes it easy to call with the value of
py-default-interpreter.

(py-shell): Don't need to initialize py-which-* variables since these
will guarantee to be initialized by python-mode when the first py
buffer is visited.

(py-default-interpreter): Update docstring.
Misc/python-mode.el