branch: externals/corfu-doc
commit cc13a259dddcce387441a8158397078304d71c93
Author: Yuwei Tian <[email protected]>
Commit: Yuwei Tian <[email protected]>

    No need to check corfu-mode
---
 corfu-doc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corfu-doc.el b/corfu-doc.el
index 6c4ef3557a..4387189079 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -416,7 +416,7 @@ compared with the value recorded by `corfu-doc--candiate'."
 
 The optional CANDIDATE-INDEX is the the current completion candidate index,
 it should be compared with the value recorded by `corfu--index'."
-  (and (and (fboundp 'corfu-mode) corfu-mode)
+  (and corfu-mode
        (corfu-doc--cf-popup-visible-p)
        (or (null candidate-index)
            (equal candidate-index corfu--index))))

Reply via email to