emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 4a04d6e 031/167: Default ivy-display-style to 'fancy for E


From: Oleh Krehel
Subject: [elpa] master 4a04d6e 031/167: Default ivy-display-style to 'fancy for Emacs>=24.5
Date: Tue, 08 Dec 2015 10:49:43 +0000

branch: master
commit 4a04d6e2437a2e43d5a43272aa2065d8685903e7
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Default ivy-display-style to 'fancy for Emacs>=24.5
    
    * ivy.el (ivy-display-style): Update.
---
 ivy.el |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index c35ef52..66e1e9b 100644
--- a/ivy.el
+++ b/ivy.el
@@ -85,13 +85,17 @@ and the candidate count."
   "Whether to wrap around after the first and last candidate."
   :type 'boolean)
 
-(defcustom ivy-display-style nil
+(defcustom ivy-display-style (unless (version< emacs-version "24.5") 'fancy)
   "The style for formatting the minibuffer.
 
 By default, the matched strings will be copied as they are.
 
 With the fancy method, the matching parts of the regexp will be
-additionally highlighted, just like `swiper' does it."
+additionally highlighted, just like `swiper' does it.
+
+This setting depends on `add-face-text-property' - a C function
+available as of 24.5. It will behave poorly in earlier Emacs
+versions."
   :type '(choice
           (const :tag "Plain" nil)
           (const :tag "Fancy" fancy)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]