summaryrefslogtreecommitdiff
path: root/usr.bin/mg/funmap.c
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2002-05-29 12:33:37 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2002-05-29 12:33:37 +0000
commite61abb02686a2a1f2d2f97fcb3cca18443ddd651 (patch)
tree59ba538bc5f7fe70fb4db7265b4c03c5653c1ab3 /usr.bin/mg/funmap.c
parentca39846b127a826a0fde66543a39c860b239d640 (diff)
add an entry for "find-file-read-only" and one for toggle-read-only,
which was missing for an unknown reason. ok art@
Diffstat (limited to 'usr.bin/mg/funmap.c')
-rw-r--r--usr.bin/mg/funmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mg/funmap.c b/usr.bin/mg/funmap.c
index 5c805d1aa87..bf02c6d36a8 100644
--- a/usr.bin/mg/funmap.c
+++ b/usr.bin/mg/funmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: funmap.c,v 1.7 2002/03/16 15:10:11 vincent Exp $ */
+/* $OpenBSD: funmap.c,v 1.8 2002/05/29 12:33:36 vincent Exp $ */
/*
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>. All rights reserved.
*
@@ -116,6 +116,7 @@ static struct funmap functnames[] = {
{extend, "execute-extended-command",},
{fillpara, "fill-paragraph",},
{filevisit, "find-file",},
+ {filevisitro, "find-file-read-only",},
{poptofile, "find-file-other-window",},
{forwchar, "forward-char",},
{gotoeop, "forward-paragraph",},
@@ -216,6 +217,7 @@ static struct funmap functnames[] = {
{spawncli, "suspend-emacs",},
{usebuffer, "switch-to-buffer",},
{poptobuffer, "switch-to-buffer-other-window",},
+ {togglereadonly, "toggle-read-only" },
{twiddle, "transpose-chars",},
{ undo, "undo", },
{ undo_dump, "undo-list", },