From a159bc7c3f437857f3684959caeeee9e33972598 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Fri, 7 Jan 2011 12:20:52 -0700 Subject: tidying after the history branch merge --- examples/data/plugins/bind.py | 2 -- examples/data/plugins/history.py | 3 --- 2 files changed, 5 deletions(-) (limited to 'examples/data/plugins') 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] -- cgit v1.2.3