branch: master
commit eaddef478b748bbda87e1420b5e0cac50c16fad9
Author: Nikita Leshenko <nik...@leshenko.net>
Commit: Nikita Leshenko <nik...@leshenko.net>

    company-tng: Remove redundant call to overlay-put
    
    Was left there by mistake, it's not needed
    
    Fixes: 66a9e65 (company-tng: Use 'after-string when the prefix is empty)
---
 company-tng.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/company-tng.el b/company-tng.el
index b43a196..f4801ba 100644
--- a/company-tng.el
+++ b/company-tng.el
@@ -88,8 +88,7 @@ confirm the selection and finish the completion."
        (move-overlay ov (- (point) prefix) (point))
        (overlay-put ov
                     (if (= prefix 0) 'after-string 'display)
-                    (and company-selection-changed selected))
-       (overlay-put ov 'display (and company-selection-changed selected))))
+                    (and company-selection-changed selected))))
     (hide
      (when company-tng--overlay
        (delete-overlay company-tng--overlay)

Reply via email to