From 919efcdf3ad6d542a1f67caef6f0d4a2df12b854 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Mon, 26 May 2008 15:26:25 -0500 Subject: just call try_cmd recursively here, no reason not to --- lib/Language/TECO.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Language/TECO.pm b/lib/Language/TECO.pm index 9ae78d5..affd767 100644 --- a/lib/Language/TECO.pm +++ b/lib/Language/TECO.pm @@ -198,8 +198,7 @@ sub try_cmd { $self->num(1); } $self->num(-$self->num); - $command = 'c'.$command; - $need_reset = 0; + $command = $self->try_cmd('c'.$command); } elsif ($command =~ s/^l//i) { if (!$self->has_num) { -- cgit v1.2.3