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

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

[elpa] externals/company 44dbc23679 07/24: Fix edge case


From: ELPA Syncer
Subject: [elpa] externals/company 44dbc23679 07/24: Fix edge case
Date: Mon, 6 Nov 2023 09:57:37 -0500 (EST)

branch: externals/company
commit 44dbc23679b309dc26f02e1888106b4f440a1d19
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Fix edge case
---
 company.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company.el b/company.el
index 9788085c87..418c3c65c7 100644
--- a/company.el
+++ b/company.el
@@ -2823,7 +2823,7 @@ from the candidates list.")
         spw-from spw-to
         spw-from-prev
         front back)
-    (while (and (< from-chars lstr)
+    (while (and (<= from-chars lstr)
                 (>
                  (setq spw-from
                        (company--string-pixel-width (substring str 0 
from-chars)))



reply via email to

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