[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ed579dd 274/348: ivy.el: Fix ivy-highlight-functions-alist
From: |
Oleh Krehel |
Subject: |
[elpa] master ed579dd 274/348: ivy.el: Fix ivy-highlight-functions-alist |
Date: |
Sat, 8 Apr 2017 11:04:13 -0400 (EDT) |
branch: master
commit ed579dd36b4a1bea4b2cd627d0817eab1e3689da
Author: Jean-Philippe Bernardy <address@hidden>
Commit: Oleh Krehel <address@hidden>
ivy.el: Fix ivy-highlight-functions-alist
Re #654
Fixes #827
---
ivy.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ivy.el b/ivy.el
index 97c41b4..977de7a 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1547,9 +1547,9 @@ This is useful for recursive `ivy-read'."
(setq ivy-use-ignore ivy-use-ignore-default)
(setq ivy--highlight-function
(if (and (eq ivy--regex-function 'swiper--re-builder)
- (eq (cdr (assoc t ivy-re-builders-alist))
- 'ivy--regex-fuzzy))
- #'ivy--highlight-fuzzy
+ (assoc t ivy-re-builders-alist)
+ (assoc (cdr (assoc t ivy-re-builders-alist))
ivy-highlight-functions-alist))
+ (cdr (assoc (cdr (assoc t ivy-re-builders-alist))
ivy-highlight-functions-alist))
(or (cdr (assoc ivy--regex-function
ivy-highlight-functions-alist))
#'ivy--highlight-default)))
@@ -2456,7 +2456,7 @@ CANDIDATES are assumed to be static."
(setq ivy--old-cands (ivy--sort name cands))
(ivy--recompute-index name re-str ivy--old-cands))
(setq ivy--old-re
- (if (eq ivy--regex-function 'ivy--regex-ignore-order)
+ (if (eq ivy--highlight-function 'ivy--highlight-ignore-order)
re
(if ivy--old-cands
re-str
- [elpa] master 49acd4c 242/348: Remap scroll-up/down-command instead of assigning C-v/M-v so page up/down works, (continued)
- [elpa] master 49acd4c 242/348: Remap scroll-up/down-command instead of assigning C-v/M-v so page up/down works, Oleh Krehel, 2017/04/08
- [elpa] master c322613 240/348: ivy.el (ivy--magic-file-slash): Fix pasting "/etc/", Oleh Krehel, 2017/04/08
- [elpa] master 1304925 239/348: ivy.el (ivy--directory-done): Fix broken "/ssh:", Oleh Krehel, 2017/04/08
- [elpa] master 359a6c8 241/348: Address multiple problems with counsel-rg, Oleh Krehel, 2017/04/08
- [elpa] master 2ed3da4 252/348: counsel.el: Fix byte-compile warning, Oleh Krehel, 2017/04/08
- [elpa] master 09da543 253/348: swiper.el: Ease the creation of swiper-in-region functions, Oleh Krehel, 2017/04/08
- [elpa] master 3940f17 266/348: Fix typos, Oleh Krehel, 2017/04/08
- [elpa] master 25ac29f 079/348: ivy.el (ivy-completion-in-region): Avoid error for 0 candidates, Oleh Krehel, 2017/04/08
- [elpa] master 0572f16 123/348: swiper now respects ivy-re-builders-alist, Oleh Krehel, 2017/04/08
- [elpa] master d528f04 260/348: ivy.el (ivy--virtual-buffers): Don't modify recentfs or bookmarks, Oleh Krehel, 2017/04/08
- [elpa] master ed579dd 274/348: ivy.el: Fix ivy-highlight-functions-alist,
Oleh Krehel <=
- [elpa] master 9151862 277/348: ivy.el (ivy--format-minibuffer-line): Fix for ivy-display-style nil, Oleh Krehel, 2017/04/08
- [elpa] master 6cf7feb 282/348: ivy.el: Allow toggling of sorting in ivy-read, Oleh Krehel, 2017/04/08
- [elpa] master dbcee94 288/348: counsel.el: support universal argument for counsel-unicode-char, Oleh Krehel, 2017/04/08
- [elpa] master 0507841 285/348: Use customizable list of directories when looking for linux apps., Oleh Krehel, 2017/04/08
- [elpa] master 7c73f71 293/348: Allow users to find libraries from counsel-load-library, Oleh Krehel, 2017/04/08
- [elpa] master 07813be 094/348: Spelling fixes, Oleh Krehel, 2017/04/08
- [elpa] master 22623aa 101/348: swiper.el (swiper-avy): Require avy, Oleh Krehel, 2017/04/08
- [elpa] master 9118fa1 093/348: Separate readme into distinct ivy/counsel/swiper sections, Oleh Krehel, 2017/04/08
- [elpa] master 64b385d 107/348: Don't quit counsel-linux-app on bad data, Oleh Krehel, 2017/04/08
- [elpa] master 2be454c 104/348: Remove ivy-height from the example configuration., Oleh Krehel, 2017/04/08