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

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

[elpa] master f6876a7 359/399: ivy.el (ivy-read): Simplify


From: Oleh Krehel
Subject: [elpa] master f6876a7 359/399: ivy.el (ivy-read): Simplify
Date: Sat, 20 Jul 2019 14:57:59 -0400 (EDT)

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

    ivy.el (ivy-read): Simplify
---
 ivy.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ivy.el b/ivy.el
index d27c21b..515c0cd 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2005,15 +2005,14 @@ customizations apply to the current completion session."
          (ivy--display-function
           (when (or ivy-recursive-last
                     (not (window-minibuffer-p)))
-            (ivy-alist-setting ivy-display-functions-alist caller)))
-         (height (ivy--height caller)))
+            (ivy-alist-setting ivy-display-functions-alist caller))))
     (unwind-protect
          (minibuffer-with-setup-hook
              #'ivy--minibuffer-setup
            (let* ((hist (or history 'ivy-history))
                   (minibuffer-completion-table collection)
                   (minibuffer-completion-predicate predicate)
-                  (ivy-height height)
+                  (ivy-height (ivy--height caller))
                   (resize-mini-windows (unless (display-graphic-p)
                                          'grow-only)))
              (if (and ivy-auto-select-single-candidate



reply via email to

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