branch: externals/company
commit 97401e456db2f99175e6902add0eee7c94f19d9e
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    company--eldoc-no-inteference-p: Check company-candidates as well
    
    For doubly certain non-interference when company completion is inactive.
---
 company.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/company.el b/company.el
index ed5bd9919e..f41074c5e9 100644
--- a/company.el
+++ b/company.el
@@ -4801,7 +4801,8 @@ Delay is determined by `company-tooltip-idle-delay'."
 (eldoc-add-command-completions "company-")
 
 (defun company--eldoc-no-inteference-p ()
-  (member company-echo-last-msg '(nil "")))
+  (or (not company-candidates)
+      (member company-echo-last-msg '(nil ""))))
 
 (advice-add #'eldoc-display-message-no-interference-p
             :after-while

Reply via email to