[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 2e046d1 09/12: Fix the candidate index for `ivy-resume'
From: |
Oleh Krehel |
Subject: |
[elpa] master 2e046d1 09/12: Fix the candidate index for `ivy-resume' |
Date: |
Sun, 03 May 2015 11:04:55 +0000 |
branch: master
commit 2e046d190b1ce0e3ff71856cc173eb92f1249eb7
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
Fix the candidate index for `ivy-resume'
* ivy.el (ivy--preselect-index): The the regex, not the plain text.
---
ivy.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ivy.el b/ivy.el
index 667186e..2a7bec6 100644
--- a/ivy.el
+++ b/ivy.el
@@ -704,6 +704,7 @@ Turning on Ivy mode will set `completing-read-function' to
(defun ivy--preselect-index (candidates initial-input preselect)
"Return the index in CANDIDATES filtered by INITIAL-INPUT for PRESELECT."
(when initial-input
+ (setq initial-input (ivy--regex-plus initial-input))
(setq candidates
(cl-remove-if-not
(lambda (x)
- [elpa] master updated (69bf1bd -> 34753b4), Oleh Krehel, 2015/05/03
- [elpa] master 0353b9f 01/12: Add ivy-state struct, Oleh Krehel, 2015/05/03
- [elpa] master 0210bb6 03/12: Merge ivy-def into ivy-last, Oleh Krehel, 2015/05/03
- [elpa] master d0b6e94 02/12: Allow to quote spaces while matching, Oleh Krehel, 2015/05/03
- [elpa] master 7f63f09 04/12: Merge ivy-window into ivy-last, Oleh Krehel, 2015/05/03
- [elpa] master 00d1c95 06/12: ivy-resume now works for functions that supply action, Oleh Krehel, 2015/05/03
- [elpa] master cdafe1b 05/12: Merge ivy--action into ivy-last, Oleh Krehel, 2015/05/03
- [elpa] master 2bc08de 07/12: Merge ivy--persistent-action into ivy-state-action, Oleh Krehel, 2015/05/03
- [elpa] master 2e046d1 09/12: Fix the candidate index for `ivy-resume',
Oleh Krehel <=
- [elpa] master 109fb7d 08/12: Add unwind argument to ivy-read, Oleh Krehel, 2015/05/03
- [elpa] master b5332c5 10/12: ivy.el (ivy-resume): Quote the preselect, Oleh Krehel, 2015/05/03
- [elpa] master 829bdb6 11/12: swiper.el: Bump version, Oleh Krehel, 2015/05/03
- [elpa] master 34753b4 12/12: Merge commit '829bdb6dcb08e2b1a8d8c329e697156e5fa2dbcc' from swiper, Oleh Krehel, 2015/05/03