removed unused code, and did some other cosmetic changes to the code

This commit is contained in:
Jorgen Stenarson
2008-08-27 19:28:45 +02:00
parent c2579348bf
commit 10b8512e5a
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -113,10 +113,8 @@ class BaseMode(object):
print 'startup hook failed'
traceback.print_exc()
c = self.console
self.l_buffer.reset_line()
self.prompt = prompt
# self._print_prompt()
if self.pre_input_hook:
try:
+1 -1
View File
@@ -202,7 +202,7 @@ class EmacsMode(DigitArgumentMode, IncrementalSearchPromptMode, SearchPromptMode
def __repr__(self):
return "<EmacsMode>"
def add_key_logger(self,logfun):
def add_key_logger(self, logfun):
"""logfun should be function that takes disp_fun and line_buffer object """
self._keylog=logfun