summaryrefslogtreecommitdiffstats
path: root/lib/Language/TECO.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Language/TECO.pm')
-rw-r--r--lib/Language/TECO.pm3
1 files changed, 1 insertions, 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) {