##// END OF EJS Templates
do not attempt custom completers on empty line
vivainio -
Show More
@@ -531,6 +531,8 b' class IPCompleter(Completer):'
531 531
532 532 def dispatch_custom_completer(self,text):
533 533 # print "Custom! '%s' %s" % (text, self.custom_completers) # dbg
534 if not text.strip():
535 return None
534 536 line = self.lbuf
535 537 event = Struct()
536 538 event.line = line
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.'
6 6
7 7 This file contains all the classes and helper functions specific to IPython.
8 8
9 $Id: iplib.py 1854 2006-10-30 19:54:25Z vivainio $
9 $Id: iplib.py 1859 2006-11-02 06:39:54Z vivainio $
10 10 """
11 11
12 12 #*****************************************************************************
@@ -1650,6 +1650,7 b' want to merge them back into the new files.""" % locals()'
1650 1650
1651 1651 l2 = self.transform_alias(fn,rest)
1652 1652 # dir -> dir
1653 # print "alias",line, "->",l2 #dbg
1653 1654 if l2 == line:
1654 1655 break
1655 1656 # ls -> ls -F should not recurse forever
General Comments 0
You need to be logged in to leave comments. Login now