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

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

[elpa] master 335eb42 30/40: Fix case when "underlying face" is from Fly


From: Dmitry Gutov
Subject: [elpa] master 335eb42 30/40: Fix case when "underlying face" is from Flymake or Flycheck
Date: Thu, 2 Jan 2020 18:57:04 -0500 (EST)

branch: master
commit 335eb42dc1b21f92580462ac7a1317394445d762
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Fix case when "underlying face" is from Flymake or Flycheck
    
    https://github.com/joaotavora/eglot/issues/388
---
 company.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/company.el b/company.el
index 035c7de..1ee7d4d 100644
--- a/company.el
+++ b/company.el
@@ -2935,8 +2935,9 @@ Returns a negative number if the tooltip should be 
displayed above point."
   (when company-pseudo-tooltip-overlay
     (let* ((ov company-pseudo-tooltip-overlay)
            (disp (overlay-get ov 'company-display)))
-      ;; Beat outline's folding overlays, at least.
-      (overlay-put ov 'priority 1)
+      ;; Beat outline's folding overlays.
+      ;; And Flymake (53). And Flycheck (110).
+      (overlay-put ov 'priority 111)
       ;; No (extra) prefix for the first line.
       (overlay-put ov 'line-prefix "")
       ;; `display' is better



reply via email to

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