diff options
author | Mason Larobina <mason.larobina@gmail.com> | 2010-06-26 00:00:46 +0800 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2010-06-26 00:00:46 +0800 |
commit | afc0f873e873839da75a54e8ca8095d335527786 (patch) | |
tree | edf0951a5d8bfa11e5ba5877973a0c56de6aff16 /examples/data/plugins/cmd_expand.py | |
parent | 44c80387726672abdec0108e7ae1791a8bed693c (diff) | |
parent | 08d4098f075b5dc8f2a174ec4e824b26fd81c110 (diff) |
Merge branch 'experimental'
Diffstat (limited to 'examples/data/plugins/cmd_expand.py')
-rw-r--r-- | examples/data/plugins/cmd_expand.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/data/plugins/cmd_expand.py b/examples/data/plugins/cmd_expand.py index 3f6ae2b..b007975 100644 --- a/examples/data/plugins/cmd_expand.py +++ b/examples/data/plugins/cmd_expand.py @@ -35,8 +35,6 @@ def cmd_expand(uzbl, cmd, args): return cmd - +# plugin init hook def init(uzbl): - # Function exports to the uzbl object, `function(uzbl, *args, ..)` - # becomes `uzbl.function(*args, ..)`. - uzbl.export('cmd_expand', cmd_expand) + export(uzbl, 'cmd_expand', cmd_expand) |