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

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

[elpa] externals/company 01e82364bf 23/30: company-post-command: Refresh


From: ELPA Syncer
Subject: [elpa] externals/company 01e82364bf 23/30: company-post-command: Refresh more often
Date: Sat, 13 Jul 2024 00:57:52 -0400 (EDT)

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

    company-post-command: Refresh more often
    
    E.g. also after delete-forward-char.
---
 company.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/company.el b/company.el
index 4e94becd99..c56b47c518 100644
--- a/company.el
+++ b/company.el
@@ -2496,7 +2496,8 @@ For more details see `company-insertion-on-trigger' and
   (unless (company-keep this-command)
     (condition-case-unless-debug err
         (progn
-          (unless (equal (point) company-point)
+          (unless (and (equal (point) company-point)
+                       (equal (point-max) company--point-max))
             (let (company-idle-delay) ; Against misbehavior while debugging.
               (company--perform)))
           (if company-candidates



reply via email to

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