summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/commands.c b/src/commands.c
index 3d052168..ffb7ff17 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -56,21 +56,6 @@ commands_simple_command(KeyMap *km, const char *argument)
completion_clean_autocompletion();
}
- if (EMIT_SCRIPT(EXECUTE_COMMAND))
- {
- char *json = util_create_json(3,
- CHAR, "command", km->map->n.first,
- CHAR, "argument", argument,
- INTEGER, "nummod", dwb.state.nummod);
- ScriptSignal sig = { NULL, SCRIPTS_SIG_META(json, EXECUTE_COMMAND, 0) } ;
-
- gboolean prevent = scripts_emit(&sig);
- g_free(json);
-
- if (prevent)
- return STATUS_OK;
- }
-
ret = func(km, arg);
switch (ret)
{