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

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

[elpa] externals/diff-hl 3aa5a7e 08/10: Make sure the "underlying face"


From: ELPA Syncer
Subject: [elpa] externals/diff-hl 3aa5a7e 08/10: Make sure the "underlying face" does not affect the popup's display
Date: Mon, 22 Feb 2021 22:57:16 -0500 (EST)

branch: externals/diff-hl
commit 3aa5a7e9aa132d9543cf2be3f2b7b95165be2870
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@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

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