##// END OF EJS Templates
Ensures that ipython-complete is called....
Ensures that ipython-complete is called. python-mode defines a key-binding for the tab key for its own completion function (py-shell-complete) if that one wins, then py-shell-complete will hang emacs as it tries to communicate with the python shell process which does not exist. This uses def-advice to instead call ipython-complete when py-shell-complete is called.

File last commit:

r4806:f4b8b67b
r5340:4a983cae
Show More
__init__.py
30 lines | 1013 B | text/x-python | PythonLexer
# encoding: utf-8
"""
Extra capabilities for IPython
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2009 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.lib.inputhook import (
enable_wx, disable_wx,
enable_gtk, disable_gtk,
enable_qt4, disable_qt4,
enable_tk, disable_tk,
enable_glut, disable_glut,
enable_pyglet, disable_pyglet,
set_inputhook, clear_inputhook,
current_gui
)
#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------