diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-02-08 21:21:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-02-08 21:21:12 +0000 |
commit | de9c8f8d7ba280b4756634e8d62a4926ee65e65e (patch) | |
tree | 2dd7f7b2a88dbec8c022b206270dbc997170959c /usr.bin/mg/basic.c | |
parent | 6ebcea0ac9bbf23671f97962d57dea68bd9edf58 (diff) |
more gosmacs
Diffstat (limited to 'usr.bin/mg/basic.c')
-rw-r--r-- | usr.bin/mg/basic.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mg/basic.c b/usr.bin/mg/basic.c index 9712838e5aa..dc2926126e4 100644 --- a/usr.bin/mg/basic.c +++ b/usr.bin/mg/basic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: basic.c,v 1.6 2001/05/23 22:20:34 art Exp $ */ +/* $OpenBSD: basic.c,v 1.7 2002/02/08 21:21:11 deraadt Exp $ */ /* * Basic cursor motion commands. @@ -341,8 +341,7 @@ backpage(f, n) * These functions are provided for compatibility with Gosling's Emacs. They * are used to scroll the display up (or down) one line at a time. */ -#ifdef GOSMACS -void +int forw1page(f, n) int f, n; { @@ -352,9 +351,10 @@ forw1page(f, n) f = FFUNIV; } forwpage(f | FFRAND, n); + return TRUE; } -void +int back1page(f, n) int f, n; { @@ -364,8 +364,8 @@ back1page(f, n) f = FFUNIV; } backpage(f | FFRAND, n); + return TRUE; } -#endif /* * Page the other window. Check to make sure it exists, then |