branch : pmacs2
This commit is contained in:
moculus 2007-06-22 22:51:44 +00:00
parent 8cfba810a5
commit 76d7f942bf
1 changed files with 1 additions and 3 deletions

View File

@ -387,9 +387,7 @@ class PerlGotoFunction(method.Method):
name = vargs['name']
functions = w.mode.get_functions()
if name in functions:
number = functions[name]
p = Point(0, number)
w.goto(p)
w.goto(Point(0, functions[name]))
else:
w.application.set_error("Function %r was not found" % name)