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

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

[elpa] externals/company 7a4bc77e1c 16/24: company-pseudo-tooltip-show:


From: ELPA Syncer
Subject: [elpa] externals/company 7a4bc77e1c 16/24: company-pseudo-tooltip-show: Slight performance improvement
Date: Mon, 6 Nov 2023 09:57:38 -0500 (EST)

branch: externals/company
commit 7a4bc77e1cc1cae949f4979944532eed585ddcab
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>

    company-pseudo-tooltip-show: Slight performance improvement
---
 company.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company.el b/company.el
index 4ef4ccc30b..9f0d0c42d9 100644
--- a/company.el
+++ b/company.el
@@ -3774,7 +3774,7 @@ Returns a negative number if the tooltip should be 
displayed above point."
           (setq nl (< (move-to-window-line row) row)
                 beg (point)
                 end (save-excursion
-                      (move-to-window-line (+ row (abs height)))
+                      (vertical-motion (abs height))
                       (point))
                 ov (make-overlay beg end nil t)
                 args (list (mapcar 'company-plainify



reply via email to

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