summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2013-02-12 16:42:12 +0100
committerportix <portix@gmx.net>2013-02-12 16:42:12 +0100
commitd6696f6c937cbfa29870ca13349b422bf8744d89 (patch)
tree87f647700402cc249b0ed906fdba9b09cf6c78f8 /src/commands.c
parentd8510cd43f2ead7820cfe65a24f2f6233d4edc6f (diff)
downloaddwb-d6696f6c937cbfa29870ca13349b422bf8744d89.zip
Backout revision 1733
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)
{