diff options
| author | Christian Hesse <mail@eworm.de> | 2016-02-22 16:54:12 +0100 |
|---|---|---|
| committer | Christian Hesse <mail@eworm.de> | 2016-02-22 16:54:12 +0100 |
| commit | 00700db30bb89dd89ae7a6558c94fe72c6f16343 (patch) | |
| tree | b0064d0d32a7d7457dec01357e18967f952e77f8 /main.c | |
| parent | fbdc71b86b0d8f5b8b79e936c97d00e3a7cba984 (diff) | |
| download | vis-00700db30bb89dd89ae7a6558c94fe72c6f16343.tar.gz vis-00700db30bb89dd89ae7a6558c94fe72c6f16343.tar.xz | |
remove unused function cmd()
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -34,8 +34,6 @@ static const char *mark_set(Vis*, const char *keys, const Arg *arg); static const char *openline(Vis*, const char *keys, const Arg *arg); /* join lines from current cursor position to movement indicated by arg */ static const char *join(Vis*, const char *keys, const Arg *arg); -/* execute arg->s as if it was typed on command prompt */ -static const char *cmd(Vis*, const char *keys, const Arg *arg); /* perform last action i.e. action_prev again */ static const char *repeat(Vis*, const char *keys, const Arg *arg); /* replace character at cursor with one from keys */ @@ -1598,11 +1596,6 @@ static const char *insert_verbatim(Vis *vis, const char *keys, const Arg *arg) { return keys; } -static const char *cmd(Vis *vis, const char *keys, const Arg *arg) { - vis_cmd(vis, arg->s); - return keys; -} - static int argi2lines(Vis *vis, const Arg *arg) { int count = vis_count_get(vis); switch (arg->i) { |
