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

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

[elpa] externals/vertico-posframe c1a3f9e 2/2: * vertico-posframe.el (ve


From: ELPA Syncer
Subject: [elpa] externals/vertico-posframe c1a3f9e 2/2: * vertico-posframe.el (vertico-posframe--create-minibuffer-cover): set :height
Date: Thu, 4 Nov 2021 23:57:29 -0400 (EDT)

branch: externals/vertico-posframe
commit c1a3f9e6ba32ed19b6667d958aa1788425023103
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * vertico-posframe.el (vertico-posframe--create-minibuffer-cover): set 
:height
---
 vertico-posframe.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/vertico-posframe.el b/vertico-posframe.el
index 1aaeaa0..0047adc 100644
--- a/vertico-posframe.el
+++ b/vertico-posframe.el
@@ -238,10 +238,8 @@ Show STRING when it is a string."
         (win (active-minibuffer-window)))
     (posframe-show vertico-posframe--minibuffer-cover
                    :string (or string (make-string (frame-width) ?\ ))
-                   :position (cons 0 (- (frame-pixel-height)
-                                        (if win
-                                            (window-pixel-height win)
-                                          (default-font-height))))
+                   :position (cons 0 (- (frame-pixel-height) 
(window-pixel-height win)))
+                   :height (window-height win)
                    :background-color color
                    :foreground-color color
                    :lines-truncate t



reply via email to

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