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

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

[elpa] externals/corfu-doc 7f7e251173 92/95: Fix #19: display a warning


From: ELPA Syncer
Subject: [elpa] externals/corfu-doc 7f7e251173 92/95: Fix #19: display a warning when child frames unavailable
Date: Tue, 19 Jul 2022 15:58:08 -0400 (EDT)

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

    Fix #19: display a warning when child frames unavailable
    
    Also fix #17
---
 corfu-doc.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/corfu-doc.el b/corfu-doc.el
index b159df7b2a..302734c20a 100644
--- a/corfu-doc.el
+++ b/corfu-doc.el
@@ -440,7 +440,10 @@ it should be compared with the value recorded by 
`corfu--index'."
 
 The optional CANDIDATE-INDEX is the the current completion candidate index."
   (unless (corfu--popup-support-p)
-    (error "Corfu-doc requires child frames to display documentation"))
+    (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]