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

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

[elpa] externals/consult-hoogle 368efca2ce 5/7: Don't use vertico-count


From: ELPA Syncer
Subject: [elpa] externals/consult-hoogle 368efca2ce 5/7: Don't use vertico-count for window height
Date: Mon, 5 Feb 2024 18:57:36 -0500 (EST)

branch: externals/consult-hoogle
commit 368efca2ce8b17eda6fd022fc9bc6bdb95056364
Author: Rahguzar <rahguzar@zohomail.eu>
Commit: Rahguzar <rahguzar@zohomail.eu>

    Don't use vertico-count for window height
    
    From Philip Kaludercic's review
    
    Height can be changed via a display-buffer-alist entry
---
 consult-hoogle.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/consult-hoogle.el b/consult-hoogle.el
index 0a4362b40f..c9e289f959 100644
--- a/consult-hoogle.el
+++ b/consult-hoogle.el
@@ -251,12 +251,9 @@ window. This can be disabled by a prefix ARG."
   (interactive (list current-prefix-arg))
   (if arg (consult-hoogle--search)
     (let* ((buf (get-buffer-create " *Hoogle Documentation*" t))
-           (height (if (bound-and-true-p vertico-count)
-                       vertico-count
-                     10))
            (window (display-buffer buf
                                    `(display-buffer-in-side-window
-                                     (window-height . ,(+ 3 height))
+                                     (window-height . 16)
                                      (side . bottom)
                                      (slot . -1)))))
       (with-current-buffer buf



reply via email to

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