From: shadchin Date: Sat, 26 Apr 2014 05:58:43 +0000 (+0000) Subject: Revert 1.11. That patch is not only not necessary, it is quite harmful now. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e71c7b9e95536b71adae15585bd2e3804716427e;p=openbsd Revert 1.11. That patch is not only not necessary, it is quite harmful now. ok schwarze@ --- diff --git a/usr.bin/less/command.c b/usr.bin/less/command.c index f53d7b63c2d..7ade9600123 100644 --- a/usr.bin/less/command.c +++ b/usr.bin/less/command.c @@ -56,7 +56,6 @@ extern int oldbot; extern int forw_prompt; extern int be_helpful; extern int less_is_more; -extern int quit_at_eof; #if SHELL_ESCAPE static char *shellcmd = NULL; /* For holding last shell command for "!!" */ @@ -1259,8 +1258,6 @@ commands() * Forward forever, ignoring EOF. */ newaction = forw_loop(0); - if (less_is_more) - quit_at_eof = OPT_ON; break; case A_F_UNTIL_HILITE: