branch: elpa/isl
commit f10a90154e54caf35ad00befdbce9bfb56087c6e
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Add history var
---
isearch-light.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/isearch-light.el b/isearch-light.el
index 3b031ec14e8..f41dcf7b733 100644
--- a/isearch-light.el
+++ b/isearch-light.el
@@ -17,6 +17,7 @@
(defvar isl-case-fold-search 'smart
"The `case-fold-search' value.")
(defvar isl-number-results 0)
+(defvar isl-history nil)
(defvar isl-map
(let ((map (make-sparse-keymap)))
@@ -153,7 +154,7 @@
(setq timer (run-with-idle-timer
0.1 'repeat #'isl-check-input)))
(read-from-minibuffer
- prompt nil isl-map nil nil (thing-at-point 'symbol)))
+ prompt nil isl-map nil 'isl-history (thing-at-point 'symbol)))
(cancel-timer timer))))
(defun isl-1 ()