diff options
author | Barry Warsaw <barry@python.org> | 1999-07-28 21:59:43 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1999-07-28 21:59:43 (GMT) |
commit | 11f215607e2c59741d21dc5957fbb7c4c89953b1 (patch) | |
tree | 2e112f9cca542d5bd41e565f262d0681ae7ea937 /Misc/Fixcprt.py | |
parent | 2ab455a8fa946cb8d599018c2f861f1fe909c545 (diff) | |
download | cpython-11f215607e2c59741d21dc5957fbb7c4c89953b1.zip cpython-11f215607e2c59741d21dc5957fbb7c4c89953b1.tar.gz cpython-11f215607e2c59741d21dc5957fbb7c4c89953b1.tar.bz2 |
(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.
Diffstat (limited to 'Misc/Fixcprt.py')
0 files changed, 0 insertions, 0 deletions