aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/plugins/bind.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/data/plugins/bind.py')
-rw-r--r--examples/data/plugins/bind.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/data/plugins/bind.py b/examples/data/plugins/bind.py
index 1dd2ee8..a1a5d89 100644
--- a/examples/data/plugins/bind.py
+++ b/examples/data/plugins/bind.py
@@ -431,6 +431,10 @@ def match_and_exec(uzbl, bind, depth, keylet, bindlet):
elif more:
bindlet.stack(bind, args, depth)
+ (on_exec, has_args, mod_cmd, glob, more) = bind[depth+1]
+ if not on_exec and has_args and not glob and not more:
+ exec_bind(uzbl, bind, *(args+['',]))
+
return False
args = bindlet.args + args