aboutsummaryrefslogtreecommitdiff
path: root/cmd-unbind-key.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2014-06-21 19:48:03 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2014-06-21 19:48:03 +0100
commitf8481f93c5fc92f5503a2bdd94c60375a2c81bb5 (patch)
treee8cd0d3a0cfc16a5d602a9143d301b818953ec68 /cmd-unbind-key.c
parentcddf50b715be8732ffd0732d33a886b788a231c5 (diff)
parent0c5ed177c4e5178127dc8fe3528985df8ff988a6 (diff)
downloadrtmux-f8481f93c5fc92f5503a2bdd94c60375a2c81bb5.tar.gz
rtmux-f8481f93c5fc92f5503a2bdd94c60375a2c81bb5.tar.bz2
rtmux-f8481f93c5fc92f5503a2bdd94c60375a2c81bb5.zip
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
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 cf6ad506..494404c1 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;