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

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

[elpa] externals/vertico-posframe 8ef302c715: * vertico-posframe.el (ver


From: ELPA Syncer
Subject: [elpa] externals/vertico-posframe 8ef302c715: * vertico-posframe.el (vertico-posframe--show-minibuffer-p): Do not handle input method.
Date: Fri, 7 Jan 2022 01:57:56 -0500 (EST)

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

    * vertico-posframe.el (vertico-posframe--show-minibuffer-p): Do not handle 
input method.
---
 vertico-posframe.el | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/vertico-posframe.el b/vertico-posframe.el
index 25ac76d4a0..03e1d495e5 100644
--- a/vertico-posframe.el
+++ b/vertico-posframe.el
@@ -223,17 +223,16 @@ is called, window-point will be set to WINDOW-POINT."
 
 (defun vertico-posframe--show-minibuffer-p ()
   "Test show minibuffer or not."
-  (or current-input-method
-      (cl-some
-       (lambda (rule)
-         (cond ((functionp rule)
-                (funcall rule))
-               ((and rule (stringp rule))
-                (string-match-p rule (symbol-name this-command)))
-               ((symbolp rule)
-                (symbol-value rule))
-               (t nil)))
-       vertico-posframe-show-minibuffer-rules)))
+  (cl-some
+   (lambda (rule)
+     (cond ((functionp rule)
+            (funcall rule))
+           ((and rule (stringp rule))
+            (string-match-p rule (symbol-name this-command)))
+           ((symbolp rule)
+            (symbol-value rule))
+           (t nil)))
+   vertico-posframe-show-minibuffer-rules))
 
 (defun vertico-posframe-last-window ()
   "Get the last actived window before active minibuffer."



reply via email to

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