branch: externals/vertico-posframe
commit ce44d96f70dd4988fb4c3b756e711627f319735e
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
* vertico-posframe.el (vertico-posframe-post-command-function): test
vertico-posframe-mode.
---
vertico-posframe.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vertico-posframe.el b/vertico-posframe.el
index 5c1df0d..defb1cf 100644
--- a/vertico-posframe.el
+++ b/vertico-posframe.el
@@ -221,7 +221,9 @@ Optional argument FRAME ."
"`post-command-hook' function used by vertico-posframe."
(while-no-input
(redisplay)
- (when (and (minibufferp) (posframe-workable-p))
+ (when (and vertico-posframe-mode
+ (minibufferp)
+ (posframe-workable-p))
(with-current-buffer (window-buffer (active-minibuffer-window))
(let* ((count (vertico--format-count))
(count-length (length count))