[Conkeror] [PATCH] Typing a substring of a hint now respects a disabled hints_auto_exit_delay.

David Kettler David.Kettler at dsto.defence.gov.au
Thu Oct 30 23:07:46 PDT 2008


Previously if hints_auto_exit_delay was set to zero a link would be
followed as soon as an unambiguous substring was typed.  Further
typing was then interpreted as keystroke commands.
---
 modules/hints.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/hints.js b/modules/hints.js
index a397afa..64f1f31 100644
--- a/modules/hints.js
+++ b/modules/hints.js
@@ -441,7 +441,8 @@ hints_minibuffer_state.prototype = {
         this.manager.current_hint_number = -1;
         this.manager.update_valid_hints();
         if (this.auto_exit) {
-            if (this.manager.valid_hints.length == 1)
+            if (this.manager.valid_hints.length == 1
+                && hints_auto_exit_delay > 0)
                 this.handle_auto_exit(m, hints_auto_exit_delay);
             else if (this.manager.valid_hints.length > 1
                      && hints_ambiguous_auto_exit_delay > 0)
-- 
1.6.0.2.605.g208f6.dirty


-- 
IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
CRIMES ACT 1914. If you have received this email in error, you are
requested to contact the sender and delete the email.



More information about the Conkeror mailing list