From 9841b01d0d46c71e66e578cb2799828a484b7663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= Date: Tue, 9 Aug 2016 14:25:40 +0200 Subject: [PATCH] hints: generalize auto-follow for any unique match fixes #1809 --- qutebrowser/browser/hints.py | 1 + qutebrowser/config/configdata.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/qutebrowser/browser/hints.py b/qutebrowser/browser/hints.py index fcb540de9..ec12789fe 100644 --- a/qutebrowser/browser/hints.py +++ b/qutebrowser/browser/hints.py @@ -822,6 +822,7 @@ class HintManager(QObject): self._hide_elem(elem.label) except webelem.Error: pass + self._handle_auto_follow() def filter_hints(self, filterstr): """Filter displayed hints according to a text. diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 6837ed70a..258bf8ed0 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -928,8 +928,9 @@ def data(readonly=False): ('auto-follow', SettingValue(typ.Bool(), 'true'), - "Follow a hint immediately when the hint text is completely " - "matched."), + "Follow a hint immediately when there is a unique match on the " + "hint text (in letter and word modes) or in the hint filter " + "(in number mode)."), ('auto-follow-timeout', SettingValue(typ.Int(), '0'),