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

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

[elpa] externals/company a79d270 5/6: caddr and friends were only added


From: ELPA Syncer
Subject: [elpa] externals/company a79d270 5/6: caddr and friends were only added in Emacs 26
Date: Sat, 27 Mar 2021 21:57:13 -0400 (EDT)

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

    caddr and friends were only added in Emacs 26
---
 company.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company.el b/company.el
index 19e22b9..59463c3 100644
--- a/company.el
+++ b/company.el
@@ -2959,7 +2959,7 @@ If SHOW-VERSION is non-nil, show the version in the echo 
area."
         (let* ((item (pop items))
                (str (car item))
                (annotation (cadr item))
-               (candidate-prefix (caddr item))
+               (candidate-prefix (nth 2 item))
                (margin (company-space-string company-tooltip-margin))
                (left (or candidate-prefix margin))
                (right margin)



reply via email to

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