diff options
author | Mason Larobina <mason.larobina@gmail.com> | 2009-09-11 03:06:20 +0800 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2009-09-11 03:06:20 +0800 |
commit | 654435bb4b85acd4c9ec8c0c44b0b8d89e63fc3d (patch) | |
tree | 95b925642b6970635c58352eaad34df9dc5cf403 /examples/data/uzbl/scripts | |
parent | 8d310055087fc84b33f07031ed1853279c4ff4a2 (diff) |
Use new __export__ variable to set the bind export.
Diffstat (limited to 'examples/data/uzbl/scripts')
-rw-r--r-- | examples/data/uzbl/scripts/plugins/bind.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/data/uzbl/scripts/plugins/bind.py b/examples/data/uzbl/scripts/plugins/bind.py index cf2a1ab..b44f706 100644 --- a/examples/data/uzbl/scripts/plugins/bind.py +++ b/examples/data/uzbl/scripts/plugins/bind.py @@ -10,9 +10,12 @@ And it is also possible to execute a function on activation: bind('DD', myhandler) ''' +__export__ = ['bind',] + uzbls = {} -def export_bind(uzbl, glob, cmd=None): + +def bind(uzbl, glob, cmd=None): if uzbl not in uzbls: uzbls[uzbl] = {} |