diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2008-09-15 16:13:36 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2008-09-15 16:13:36 +0000 |
commit | 46afcbd52cae880b9a7eb20df81241e1f99a64cb (patch) | |
tree | e7f8293c9d96e318bdccb005f328c5824f50f1d8 /usr.bin/mg/funmap.c | |
parent | 0b98546c7b94e0858d8daad1b96091ba91734f4b (diff) |
Expose the undo commands as proper mg functions.
This should have no functional change on undo, but it does facilitate
testing undo behavior.
Diffstat (limited to 'usr.bin/mg/funmap.c')
-rw-r--r-- | usr.bin/mg/funmap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mg/funmap.c b/usr.bin/mg/funmap.c index 056658b5224..d620743ebb1 100644 --- a/usr.bin/mg/funmap.c +++ b/usr.bin/mg/funmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: funmap.c,v 1.31 2008/06/14 08:46:30 kjell Exp $ */ +/* $OpenBSD: funmap.c,v 1.32 2008/09/15 16:13:35 kjell Exp $ */ /* This file is in the public domain */ @@ -181,6 +181,9 @@ static struct funmap functnames[] = { {togglereadonly, "toggle-read-only" }, {twiddle, "transpose-chars",}, {undo, "undo", }, + {undo_enable, "undo-enable", }, + {undo_boundary_enable, "undo-boundary-toggle", }, + {undo_add_boundary, "undo-boundary", }, {undo_dump, "undo-list", }, {universal_argument, "universal-argument",}, {upperregion, "upcase-region",}, |