From 034bfaa0520248116d347ae8de7cf900b77a7e6f Mon Sep 17 00:00:00 2001 From: moculus Date: Sun, 9 Nov 2008 00:06:22 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- application.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/application.py b/application.py index 1575cc5..747aad9 100755 --- a/application.py +++ b/application.py @@ -114,8 +114,10 @@ class Application(object): # create all the insert methods for the character ranges we like for c in string.letters + string.digits + string.punctuation: - self.methods[obj.name] = method.InsertString(c) - self.methods[obj.name] = method.OverwriteChar(c) + obj = method.InsertString(c) + self.methods[obj.name] = obj + obj = method.OverwriteChar(c) + self.methods[obj.name] = obj # buffer list stuff height = self.y - 1