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

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

[elpa] 21/28: Add a comment


From: Dmitry Gutov
Subject: [elpa] 21/28: Add a comment
Date: Wed, 27 Aug 2014 01:26:31 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit 3427e265fe793fac5924bf3c35a0acd444711824
Author: Dmitry Gutov <address@hidden>
Date:   Sun Aug 24 03:05:37 2014 +0400

    Add a comment
---
 company.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/company.el b/company.el
index 9a0c72a..b444493 100644
--- a/company.el
+++ b/company.el
@@ -2456,6 +2456,8 @@ Returns a negative number if the tooltip should be 
displayed above point."
       (overlay-put ov 'line-prefix "")
       (if (/= (overlay-start ov) (overlay-end ov))
           (overlay-put ov 'display disp)
+        ;; `display' is usually better (http://debbugs.gnu.org/18285),
+        ;; but it doesn't work when the overlay is empty.
         (overlay-put ov 'after-string disp))
       (overlay-put ov 'window (selected-window)))))
 



reply via email to

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