branch: externals/diff-hl
commit 3aa5a7e9aa132d9543cf2be3f2b7b95165be2870
Author: Dmitry Gutov <dgu...@yandex.ru>
Commit: Dmitry Gutov <dgu...@yandex.ru>

    Make sure the "underlying face" does not affect the popup's display
---
 diff-hl-inline-popup.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/diff-hl-inline-popup.el b/diff-hl-inline-popup.el
index 0bad1ff..fae9236 100644
--- a/diff-hl-inline-popup.el
+++ b/diff-hl-inline-popup.el
@@ -152,6 +152,8 @@ FOOTER are showed at start and end."
                  diff-hl-inline-popup--height
                  diff-hl-inline-popup--current-header
                  diff-hl-inline-popup--current-footer)))
+      ;; https://debbugs.gnu.org/38563, `company--replacement-string'.
+      (add-face-text-property 0 (length str) 'default t str)
       (overlay-put diff-hl-inline-popup--current-popup 'after-string str))))
 
 (defun diff-hl-inline-popup--popup-down()

Reply via email to