From 01db5469cdffb16c3adca1eb3814fef98ba6cf16 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sun, 14 Sep 2014 02:34:28 +0400 Subject: [PATCH] company-pseudo-tooltip-show: Improve tooltip-guard results --- company.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/company.el b/company.el index 79b72d5aa..39c120b2a 100644 --- a/company.el +++ b/company.el @@ -2388,7 +2388,7 @@ Returns a negative number if the tooltip should be displayed above point." (end (save-excursion (move-to-window-line (+ row (abs height))) (point))) - (ov (make-overlay (if nl beg (1- beg)) end)) + (ov (make-overlay (if nl beg (1- beg)) end nil t)) (args (list (mapcar 'company-plainify (company-buffer-lines beg end)) column nl above))) -- 2.39.2