[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master b12e30c 77/90: Fix last commit being incompatible with old
From: |
Oleh Krehel |
Subject: |
[elpa] master b12e30c 77/90: Fix last commit being incompatible with older Emacs |
Date: |
Tue, 30 Jun 2015 07:29:22 +0000 |
branch: master
commit b12e30cb2e8f57ef8a40cc7c956b9d1cfa3012bf
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
Fix last commit being incompatible with older Emacs
* ivy.el (ivy--format): Use `add-face-text-property' only when it's
bound.
---
ivy.el | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ivy.el b/ivy.el
index fd0eae8..ffba8ff 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1324,10 +1324,11 @@ CANDS is a list of strings."
(setq cands (mapcar
(lambda (s)
(let ((s (copy-sequence s)))
- (add-face-text-property
- 0 (length s)
- `(:height ,(face-attribute 'default :height)
- :overline nil) nil s)
+ (when (fboundp 'add-face-text-property)
+ (add-face-text-property
+ 0 (length s)
+ `(:height ,(face-attribute 'default :height)
+ :overline nil) nil s))
s))
cands))
(let* ((ivy--index index)
- [elpa] master 581d8c0 66/90: Don't cut off "/ssh:foo" input, (continued)
- [elpa] master 581d8c0 66/90: Don't cut off "/ssh:foo" input, Oleh Krehel, 2015/06/30
- [elpa] master 513a77e 67/90: ivy.el (ivy-alt-done): Find file if given a full tramp path, Oleh Krehel, 2015/06/30
- [elpa] master 972036c 68/90: ivy.el (ivy-alt-done): Enable recursive minibuffers, Oleh Krehel, 2015/06/30
- [elpa] master d9c4427 69/90: Improve performance for "^" initial input, Oleh Krehel, 2015/06/30
- [elpa] master 2c8ad2a 70/90: Add support for Windows drive letters, Oleh Krehel, 2015/06/30
- [elpa] master d466ade 71/90: Match drive letter at start of current directory, Oleh Krehel, 2015/06/30
- [elpa] master cdb2b1a 72/90: Fix the case where file name can contain ~, Oleh Krehel, 2015/06/30
- [elpa] master 7f97ded 74/90: ivy-hydra.el (hydra-ivy): Bind "C-g", Oleh Krehel, 2015/06/30
- [elpa] master 5c09439 75/90: Re-scale the text height to default in the minibuffer, Oleh Krehel, 2015/06/30
- [elpa] master 321f277 76/90: Fix color blending for composite faces, Oleh Krehel, 2015/06/30
- [elpa] master b12e30c 77/90: Fix last commit being incompatible with older Emacs,
Oleh Krehel <=
- [elpa] master 337a1d0 73/90: ivy.el (ivy-initial-inputs-alist): Add some Org commands, Oleh Krehel, 2015/06/30
- [elpa] master d921875 79/90: counsel.el (counsel-load-theme): New command, Oleh Krehel, 2015/06/30
- [elpa] master 017e007 78/90: counsel.el (counsel-M-x): Avoid compilation warning, Oleh Krehel, 2015/06/30
- [elpa] master 64b76c3 81/90: Fixup compilation warnings related to smex, Oleh Krehel, 2015/06/30
- [elpa] master 225e5aa 82/90: Allow to recursively match history with "C-r", Oleh Krehel, 2015/06/30
- [elpa] master dcd0c50 80/90: counsel.el (counsel-unicode-char): Use action-style call, Oleh Krehel, 2015/06/30
- [elpa] master a287f39 84/90: counsel.el (counsel-git-grep-history): New defvar, Oleh Krehel, 2015/06/30
- [elpa] master e072e96 83/90: swiper.el (swiper-history): New defvar, Oleh Krehel, 2015/06/30
- [elpa] master be80798 86/90: Fix the initial input bug introduced with "C-r", Oleh Krehel, 2015/06/30
- [elpa] master 5036f23 87/90: Make counsel-el work with "C-M-n" and "C-M-p", Oleh Krehel, 2015/06/30