aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/plugins
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-01-07 12:20:52 -0700
committerGravatar Brendan Taylor <whateley@gmail.com>2011-02-14 20:38:16 -0700
commita159bc7c3f437857f3684959caeeee9e33972598 (patch)
tree7c866297f5a821e1c4eadd48deb61fdd9fca274c /examples/data/plugins
parent42ead959c23fdaacb530744139be2bb94600be3d (diff)
tidying after the history branch merge
Diffstat (limited to 'examples/data/plugins')
-rw-r--r--examples/data/plugins/bind.py2
-rw-r--r--examples/data/plugins/history.py3
2 files changed, 0 insertions, 5 deletions
diff --git a/examples/data/plugins/bind.py b/examples/data/plugins/bind.py
index 261dc5d..41f96c5 100644
--- a/examples/data/plugins/bind.py
+++ b/examples/data/plugins/bind.py
@@ -420,8 +420,6 @@ def match_and_exec(uzbl, bind, depth, keylet, bindlet):
if not has_args or on_exec:
del uzbl.config['mode']
bindlet.reset()
- # cleared by keycmd_exec_current, why is this here? breaks history
- #uzbl.clear_current()
return True
diff --git a/examples/data/plugins/history.py b/examples/data/plugins/history.py
index 2ab2ce3..5e9e4e1 100644
--- a/examples/data/plugins/history.py
+++ b/examples/data/plugins/history.py
@@ -42,7 +42,6 @@ class History(object):
self.search_key = None
if self._temporary:
- print 'popping temporary'
return self._temporary.pop()
return ''
@@ -73,8 +72,6 @@ class History(object):
self._temporary.append(cmd)
self.cursor = len(self) - 1
- print 'adding temporary', self
-
def __getitem__(self, i):
if i < len(shared_history[self.prompt]):
return shared_history[self.prompt][i]