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

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

[elpa] externals/company 5488681fb4 2/3: Merge branch 'completion_inside


From: ELPA Syncer
Subject: [elpa] externals/company 5488681fb4 2/3: Merge branch 'completion_inside_symbol'
Date: Sat, 13 Jul 2024 21:57:37 -0400 (EDT)

branch: externals/company
commit 5488681fb4a084fd3cc716ccdfe40b54e2ce644f
Merge: 31f7ad52e4 f3428b5389
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>

    Merge branch 'completion_inside_symbol'
---
 company.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/company.el b/company.el
index a02a3ebbfb..166423326f 100644
--- a/company.el
+++ b/company.el
@@ -4340,7 +4340,8 @@ Delay is determined by `company-tooltip-idle-delay'."
     (company-preview-frontend command)))
 
 (defun company--show-inline-p ()
-  (let* ((boundaries (company--boundaries (car company-candidates)))
+  (let* ((boundaries (and company-candidates
+                          (company--boundaries (car company-candidates))))
          (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]