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

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

[elpa] externals/company c67946d6e3 3/3: Remove explicit arg in company-


From: ELPA Syncer
Subject: [elpa] externals/company c67946d6e3 3/3: Remove explicit arg in company--boundaries call
Date: Sat, 13 Jul 2024 21:57:37 -0400 (EDT)

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

    Remove explicit arg in company--boundaries call
    
    Should make it more accurate when boundaries differ between completions 
(grouped
    backends, most likely).
---
 company.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/company.el b/company.el
index 166423326f..5b94f27eb3 100644
--- a/company.el
+++ b/company.el
@@ -4340,8 +4340,7 @@ Delay is determined by `company-tooltip-idle-delay'."
     (company-preview-frontend command)))
 
 (defun company--show-inline-p ()
-  (let* ((boundaries (and company-candidates
-                          (company--boundaries (car company-candidates))))
+  (let* ((boundaries (and company-candidates (company--boundaries)))
          (prefix (car boundaries))
          (suffix (cdr boundaries))
          (ignore-case (company-call-backend 'ignore-case))



reply via email to

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