branch: elpa/isl
commit a49db2c126ffeed32e970ac74b4f883852d967bf
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Add a var to handle timer delay and reduce default val
---
isearch-light.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/isearch-light.el b/isearch-light.el
index 5fcc9ada7fa..8fbefcbd6d8 100644
--- a/isearch-light.el
+++ b/isearch-light.el
@@ -43,7 +43,7 @@
(defvar isl--number-results 0)
(defvar isl-history nil)
(defvar isl--yank-point nil)
-
+(defvar isl-timer-delay 0.1)
;; User vars
(defgroup isearch-light nil
@@ -326,7 +326,7 @@ appended at end."
(minibuffer-with-setup-hook
(lambda ()
(setq timer (run-with-idle-timer
- 0.3 'repeat #'isl-check-input)))
+ isl-timer-delay 'repeat #'isl-check-input)))
(read-from-minibuffer
prompt nil isl-map nil 'isl-history (thing-at-point 'symbol t)))
(cancel-timer timer))))