[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master fee9810 336/348: ivy.el (ivy-partial): Fix for :dynamic-co
From: |
Oleh Krehel |
Subject: |
[elpa] master fee9810 336/348: ivy.el (ivy-partial): Fix for :dynamic-collection |
Date: |
Sat, 8 Apr 2017 11:04:26 -0400 (EDT) |
branch: master
commit fee981050a81df13c45e23460005860c42c7d063
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ivy.el (ivy-partial): Fix for :dynamic-collection
Fixes #946
---
ivy.el | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/ivy.el b/ivy.el
index da27d81..f6e43f8 100644
--- a/ivy.el
+++ b/ivy.el
@@ -757,11 +757,13 @@ If the text hasn't changed as a result, forward to
`ivy-alt-done'."
(new (try-completion (if startp
(substring postfix 1)
postfix)
- (mapcar (lambda (str)
- (let ((i (string-match postfix str)))
- (when i
- (substring str i))))
- ivy--old-cands))))
+ (if (ivy-state-dynamic-collection ivy-last)
+ ivy--all-candidates
+ (mapcar (lambda (str)
+ (let ((i (string-match postfix str)))
+ (when i
+ (substring str i))))
+ ivy--old-cands)))))
(cond ((eq new t) nil)
((string= new ivy-text) nil)
(new
- [elpa] master c2c0e2d 270/348: ivy.el: Simplify previous commit, (continued)
- [elpa] master c2c0e2d 270/348: ivy.el: Simplify previous commit, Oleh Krehel, 2017/04/08
- [elpa] master 75f9ceb 286/348: Allow spaces in file names when running linux apps., Oleh Krehel, 2017/04/08
- [elpa] master 2f70c56 287/348: Revert "Add missing parameter for ag", Oleh Krehel, 2017/04/08
- [elpa] master 950545b 304/348: counsel.el (counsel-linux-apps-list): Check if dir exists, Oleh Krehel, 2017/04/08
- [elpa] master 65979f6 291/348: Heed non-sort entries in ivy-sort-functions-alist, Oleh Krehel, 2017/04/08
- [elpa] master ce3c0ec 317/348: ivy.el (ivy-completing-read): Adjust :caller, Oleh Krehel, 2017/04/08
- [elpa] master d9d7592 315/348: ivy.el (ivy-completion-in-region): Remove :require-match, Oleh Krehel, 2017/04/08
- [elpa] master 4d72dc1 327/348: ivy.el: Change recursive restore order, Oleh Krehel, 2017/04/08
- [elpa] master d82dc2c 328/348: counsel.el (counsel-colors--best-contrast-color): Return same color on error, Oleh Krehel, 2017/04/08
- [elpa] master 3fbeaa5 333/348: Define ivy-help-file with defconst, Oleh Krehel, 2017/04/08
- [elpa] master fee9810 336/348: ivy.el (ivy-partial): Fix for :dynamic-collection,
Oleh Krehel <=
- [elpa] master 5f04a70 322/348: ivy.el: Move ivy-recursive-last logic to ivy-call, Oleh Krehel, 2017/04/08
- [elpa] master ff3b696 338/348: counsel.el (counsel-find-file): Add new action counsel-find-file-as-root, Oleh Krehel, 2017/04/08
- [elpa] master 8c9f6a3 340/348: swiper.el: Silence byte-compiler, Oleh Krehel, 2017/04/08
- [elpa] master a63a935 339/348: counsel.el (counsel--find-symbol): Fix typo, Oleh Krehel, 2017/04/08
- [elpa] master cba6888 344/348: Bump version to 0.9.0, Oleh Krehel, 2017/04/08
- [elpa] master 83b00ff 346/348: doc/Changelog.org: Fix links, Oleh Krehel, 2017/04/08