[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master efd1f09 48/54: Make ivy-display-style more compatible with
From: |
Oleh Krehel |
Subject: |
[elpa] master efd1f09 48/54: Make ivy-display-style more compatible with 24.3 |
Date: |
Tue, 29 Sep 2015 14:10:09 +0000 |
branch: master
commit efd1f09bbc4beb08c4221a6ff497c3cc832320cf
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
Make ivy-display-style more compatible with 24.3
* ivy.el (ivy--format-minibuffer-line): Use
`font-lock-append-text-property' instead of
`add-face-text-property'. It's not optimal, since the new face needs
to be put in front, but at least it doesn't error out.
---
ivy.el | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/ivy.el b/ivy.el
index c5aeb9b..bfec0fe 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1560,12 +1560,19 @@ This string will be inserted into the minibuffer.")
(t
(nth (1+ (mod (+ i 2) (1- (length
swiper-minibuffer-faces))))
swiper-minibuffer-faces)))))
- (add-face-text-property
- (match-beginning i)
- (match-end i)
- face
- nil
- str))
+ (if (fboundp 'add-face-text-property)
+ (add-face-text-property
+ (match-beginning i)
+ (match-end i)
+ face
+ nil
+ str)
+ (font-lock-append-text-property
+ (match-beginning i)
+ (match-end i)
+ 'face
+ face
+ str)))
(cl-incf i)))))
str))
- [elpa] master 9413acb 52/54: counsel.el (counsel--find-symbol): Allow to jump back with pop-tag-mark, (continued)
- [elpa] master 9413acb 52/54: counsel.el (counsel--find-symbol): Allow to jump back with pop-tag-mark, Oleh Krehel, 2015/10/07
- [elpa] master aa3e1dd 51/54: swiper.el (swiper-font-lock-ensure): Add mu4e, Oleh Krehel, 2015/10/07
- [elpa] master 680f6e2 44/54: swiper.el (swiper--ivy): Use minibuffer-allow-text-properties, Oleh Krehel, 2015/10/07
- [elpa] master 5fef653 08/54: ivy.el (ivy-completing-read): Fix up last commit, Oleh Krehel, 2015/10/07
- [elpa] master 1f93f40 16/54: counsel.el (counsel-cl): New command, Oleh Krehel, 2015/10/07
- [elpa] master 67cd682 06/54: Fix #126 again., Oleh Krehel, 2015/10/07
- [elpa] master 1f64cb8 11/54: ivy: enlarge the minibuffer window if the candiate list doesn't fit, Oleh Krehel, 2015/10/07
- [elpa] master f164cfe 33/54: counsel.el (counsel-yank-pop): New command, Oleh Krehel, 2015/10/07
- [elpa] master 03d93f7 40/54: ivy.el (ivy-switch-buffer): Make "M-o r" rename buffer, Oleh Krehel, 2015/10/07
- [elpa] master 8d754de 17/54: ivy.el (ivy-display-style): New defcustom, Oleh Krehel, 2015/10/07
- [elpa] master efd1f09 48/54: Make ivy-display-style more compatible with 24.3,
Oleh Krehel <=
- [elpa] master b45d10c 43/54: Revert multiple frames workaround, Oleh Krehel, 2015/10/07
- [elpa] master 3ce7df8 49/54: Truncate minibuffer prompts longer than window-width, Oleh Krehel, 2015/10/07
- [elpa] master 78499dd 22/54: Add default values for minibuffer faces, Oleh Krehel, 2015/10/07
- [elpa] master dad8183 23/54: Make the minibuffer faces look nicer, Oleh Krehel, 2015/10/07
- [elpa] master 4b17d9a 27/54: Fix up the "foo ! bar" matching and highlighting, Oleh Krehel, 2015/10/07
- [elpa] master d3f1f2c 18/54: Add extra faces for minibuffer highlighting, Oleh Krehel, 2015/10/07
- [elpa] master 1bf45be 21/54: ivy.el (ivy--format-minibuffer-line): Fix nil regexp, Oleh Krehel, 2015/10/07
- [elpa] master e03d968 50/54: ivy.el (ivy--insert-prompt): Avoid negative length error, Oleh Krehel, 2015/10/07
- [elpa] master 7a2070b 45/54: Fix minibuffer collapse in text mode emacs, Oleh Krehel, 2015/10/07
- [elpa] master ba49407 53/54: counsel.el (counsel-ag-function): Improve for fancy faces, Oleh Krehel, 2015/10/07