diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/acme/exec.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cmd/acme/exec.c b/src/cmd/acme/exec.c index e0dcb191..79a79ba4 100644 --- a/src/cmd/acme/exec.c +++ b/src/cmd/acme/exec.c @@ -1374,7 +1374,14 @@ tabexpand(Text *et, Text *_0, Text *argt, int _1, int _2, Rune *arg, int narg) return; w = et->w; - printf("tabexpand: %d\n", w->tabexpand); +if (w->tabexpand) { +w->tabexpand = 0; +warning(nil, "%.*S: Tabexpand OFF\n", w->body.file->nname, w->body.file->name); +} else { +w->tabexpand = 1; +warning(nil, "%.*S: Tabexpand ON\n", w->body.file->nname, w->body.file->name); +} + /* printf("tabexpand: %d\n", w->tabexpand); */ } void |