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

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

[elpa] externals/ivy-hydra 251c219 193/395: Enable setting the display f


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 251c219 193/395: Enable setting the display function with ivy-configure
Date: Thu, 25 Feb 2021 08:32:01 -0500 (EST)

branch: externals/ivy-hydra
commit 251c2198b1b35927a5136577fc3f5da7c9a47cda
Author: Troy Hinckley <t.macman@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    Enable setting the display function with ivy-configure
    
    Fixes #2511
---
 ivy.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ivy.el b/ivy.el
index b1fce46..2a88f45 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2028,6 +2028,7 @@ An :init is a function with no arguments.
                          index-fn
                          sort-fn
                          format-fn
+                         display-fn
                          display-transformer-fn
                          more-chars
                          grep-p
@@ -2052,6 +2053,8 @@ An :init is a function with no arguments.
     (ivy--alist-set 'ivy-sort-functions-alist caller sort-fn))
   (when format-fn
     (ivy--alist-set 'ivy-format-functions-alist caller format-fn))
+  (when display-fn
+    (ivy--alist-set 'ivy-display-functions-alist caller display-fn))
   (when display-transformer-fn
     (ivy-set-display-transformer caller display-transformer-fn))
   (when more-chars



reply via email to

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