parent
8cfba810a5
commit
76d7f942bf
|
@ -387,9 +387,7 @@ class PerlGotoFunction(method.Method):
|
||||||
name = vargs['name']
|
name = vargs['name']
|
||||||
functions = w.mode.get_functions()
|
functions = w.mode.get_functions()
|
||||||
if name in functions:
|
if name in functions:
|
||||||
number = functions[name]
|
w.goto(Point(0, functions[name]))
|
||||||
p = Point(0, number)
|
|
||||||
w.goto(p)
|
|
||||||
else:
|
else:
|
||||||
w.application.set_error("Function %r was not found" % name)
|
w.application.set_error("Function %r was not found" % name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue