summaryrefslogtreecommitdiffstats
path: root/usr.bin/less/command.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--usr.bin/less/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/less/command.c b/usr.bin/less/command.c
index 1904831a713..2447887bcdd 100644
--- a/usr.bin/less/command.c
+++ b/usr.bin/less/command.c
@@ -1463,6 +1463,7 @@ again:
case A_NEXT_TAG:
if (number <= 0)
number = 1;
+ cmd_exec();
tagfile = nexttag((int)number);
if (tagfile == NULL) {
error("No next tag", NULL);