parent
8cfba810a5
commit
76d7f942bf
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue