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

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

[elpa] externals/corfu-doc 5dd2a2987a 94/95: Don't display warning when


From: ELPA Syncer
Subject: [elpa] externals/corfu-doc 5dd2a2987a 94/95: Don't display warning when child frame is not supported (#17, #19)
Date: Tue, 19 Jul 2022 15:58:08 -0400 (EDT)

branch: externals/corfu-doc
commit 5dd2a2987a9e470112151d89be3f35d95c633be5
Author: Yuwei Tian <ibluefocus@outlook.com>
Commit: Yuwei Tian <ibluefocus@outlook.com>

    Don't display warning when child frame is not supported (#17, #19)
---
 corfu-doc.el | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/corfu-doc.el b/corfu-doc.el
index e92b58c784..35078300a5 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -430,7 +430,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 corfu-mode
+  (and corfu-mode (corfu--popup-support-p)
        (corfu-doc--cf-popup-visible-p)
        (or (null candidate-index)
            (equal candidate-index corfu--index))))
@@ -439,11 +439,6 @@ it should be compared with the value recorded by 
`corfu--index'."
   "Show the doc popup manually.
 
 The optional CANDIDATE-INDEX is the the current completion candidate index."
-  (unless (corfu--popup-support-p)
-    (display-warning
-     'corfu-doc
-     "Corfu-doc requires child frames to display documentation"
-     :warning))
   (when (corfu-doc--should-show-popup candidate-index)
     (when-let ((candidate (corfu-doc--get-candidate))
                (cf-popup-edges (corfu-doc--get-cf-popup-edges)))



reply via email to

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