[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico-posframe e295aa7: * vertico-posframe.el (vertic
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico-posframe e295aa7: * vertico-posframe.el (vertico-posframe--display): get minibuffer's current-input-method. |
Date: |
Thu, 28 Oct 2021 06:57:49 -0400 (EDT) |
branch: externals/vertico-posframe
commit e295aa73d11b720280e29b3498dcc282d4848b50
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* vertico-posframe.el (vertico-posframe--display): get minibuffer's
current-input-method.
---
vertico-posframe.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/vertico-posframe.el b/vertico-posframe.el
index 8f54c2c..28e76bf 100644
--- a/vertico-posframe.el
+++ b/vertico-posframe.el
@@ -172,7 +172,8 @@ Optional argument FRAME ."
"Display LINES in posframe."
(let ((count (vertico--format-count))
(prompt (minibuffer-prompt))
- (content (minibuffer-contents)))
+ (content (minibuffer-contents))
+ (input-method current-input-method))
(with-current-buffer (get-buffer-create vertico-posframe--buffer)
(setq-local inhibit-modification-hooks t
cursor-in-non-selected-windows 'box)
@@ -183,7 +184,7 @@ Optional argument FRAME ."
"\n" (string-join lines)))
(with-selected-window (vertico-posframe-last-window)
;; Create a posframe to cover minibuffer.
- (if current-input-method
+ (if input-method
(posframe-hide vertico-posframe--minibuffer-cover)
(posframe-show vertico-posframe--minibuffer-cover
:string (make-string 200 ? )
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico-posframe e295aa7: * vertico-posframe.el (vertico-posframe--display): get minibuffer's current-input-method.,
ELPA Syncer <=