branch: externals/corfu-doc
commit 98398c61facd38227eca9f348c645ad74e29d546
Author: Yuwei Tian <[email protected]>
Commit: Yuwei Tian <[email protected]>
Fix wrong argument type error when calling frame-visible-p
---
corfu-doc.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/corfu-doc.el b/corfu-doc.el
index c93027b42e..da5149c3d8 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -252,6 +252,7 @@
(when (and (and (fboundp 'corfu-mode) corfu-mode)
(frame-visible-p corfu--frame))
(unless (and (string= corfu-doc--candidate candidate)
+ (frame-live-p corfu-doc--frame)
(frame-visible-p corfu-doc--frame)
(equal cf-frame-edges corfu-doc--cf-frame-edges)
(eq (selected-window) corfu-doc--window))