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

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

[elpa] externals/vertico-posframe 9ff74bb 7/8: Let vertico-posframe run


From: ELPA Syncer
Subject: [elpa] externals/vertico-posframe 9ff74bb 7/8: Let vertico-posframe run better in emacs 27.
Date: Thu, 28 Oct 2021 05:57:43 -0400 (EDT)

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

    Let vertico-posframe run better in emacs 27.
---
 vertico-posframe.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/vertico-posframe.el b/vertico-posframe.el
index 6e4c8e4..ad1e4f8 100644
--- a/vertico-posframe.el
+++ b/vertico-posframe.el
@@ -5,7 +5,7 @@
 ;; Author: Feng Shu <tumashu@163.com>
 ;; Maintainer: Feng Shu <tumashu@163.com>
 ;; URL: https://github.com/tumashu/vertico-posframe
-;; Version: 0.3.1
+;; Version: 0.3.2
 ;; Keywords: abbrev, convenience, matching, vertico
 ;; Package-Requires: ((emacs "26.0") (posframe "1.0.0") (vertico "0.13.0"))
 
@@ -181,14 +181,14 @@ Optional argument FRAME ."
               content
               (propertize " " 'face 'vertico-posframe-cursor)
               "\n" (string-join lines)))
-    ;; Create a posframe to cover minibuffer.
-    (if current-input-method
-        (posframe-hide vertico-posframe--minibuffer-cover)
-      (posframe-show vertico-posframe--minibuffer-cover
-                     :string (make-string 200 ? )
-                     :position '(0 . -1)
-                     :lines-truncate t))
     (with-selected-window (vertico-posframe-last-window)
+      ;; Create a posframe to cover minibuffer.
+      (if current-input-method
+          (posframe-hide vertico-posframe--minibuffer-cover)
+        (posframe-show vertico-posframe--minibuffer-cover
+                       :string (make-string 200 ? )
+                       :position '(0 . -1)
+                       :lines-truncate t))
       (apply #'posframe-show
              vertico-posframe--buffer
              :font vertico-posframe-font



reply via email to

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