summaryrefslogtreecommitdiffstats
path: root/cmd-unbind-key.c
diff options
context:
space:
mode:
authornicm <nicm>2014-05-14 06:45:35 +0000
committernicm <nicm>2014-05-14 06:45:35 +0000
commit191f695bad17f89c1af67d6b03dcfe55997fc5ff (patch)
tree067d27e75ca39371974c60dcac1308a1cf028872 /cmd-unbind-key.c
parent58c97695c9516ae2d95e1f26c8fa2539fece862a (diff)
Change key-table to mode-table to allow for some future work. From Keith
Amling.
Diffstat (limited to 'cmd-unbind-key.c')
-rw-r--r--cmd-unbind-key.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd-unbind-key.c b/cmd-unbind-key.c
index 5d86665b..92657c29 100644
--- a/cmd-unbind-key.c
+++ b/cmd-unbind-key.c
@@ -27,12 +27,12 @@
*/
enum cmd_retval cmd_unbind_key_exec(struct cmd *, struct cmd_q *);
-enum cmd_retval cmd_unbind_key_table(struct cmd *, struct cmd_q *, int);
+enum cmd_retval cmd_unbind_key_mode_table(struct cmd *, struct cmd_q *, int);
const struct cmd_entry cmd_unbind_key_entry = {
"unbind-key", "unbind",
"acnt:", 0, 1,
- "[-acn] [-t key-table] key",
+ "[-acn] [-t mode-table] key",
0,
NULL,
cmd_unbind_key_exec
@@ -64,7 +64,7 @@ cmd_unbind_key_exec(struct cmd *self, struct cmd_q *cmdq)
}
if (args_has(args, 't'))
- return (cmd_unbind_key_table(self, cmdq, key));
+ return (cmd_unbind_key_mode_table(self, cmdq, key));
if (key == KEYC_NONE) {
while (!RB_EMPTY(&key_bindings)) {
@@ -81,7 +81,7 @@ cmd_unbind_key_exec(struct cmd *self, struct cmd_q *cmdq)
}
enum cmd_retval
-cmd_unbind_key_table(struct cmd *self, struct cmd_q *cmdq, int key)
+cmd_unbind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, int key)
{
struct args *args = self->args;
const char *tablename;