aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/acme/text.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/acme/text.c b/src/cmd/acme/text.c
index b8c33d12..ec72b4a8 100644
--- a/src/cmd/acme/text.c
+++ b/src/cmd/acme/text.c
@@ -781,6 +781,11 @@ texttype(Text *t, Rune r)
typecommit(t);
undo(t, nil, nil, TRUE, 0, nil, 0);
return;
+ case Kcmd+'s': /* %S: save/put file */
+ typecommit(t);
+ put(&t->w->body, nil, nil, XXX, XXX, nil, 0);
+ return;
+
Tagdown: