[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 0d83218a94 2/5: Don't use pos-bol, not availabl
From: |
ELPA Syncer |
Subject: |
[elpa] externals/company 0d83218a94 2/5: Don't use pos-bol, not available in < 29 |
Date: |
Thu, 26 Sep 2024 18:57:57 -0400 (EDT) |
branch: externals/company
commit 0d83218a940c7e173eea352bba401bc0d8780e7c
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
Don't use pos-bol, not available in < 29
---
test/capf-tests.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/test/capf-tests.el b/test/capf-tests.el
index 0a646e6bbe..72cef8e0b1 100644
--- a/test/capf-tests.el
+++ b/test/capf-tests.el
@@ -178,12 +178,13 @@
(cc2 '("abcz" "abczdef" "abcz123"))
(comp2
(lambda ()
- (list (pos-bol) (point)
- (mapcar
- (lambda (s)
- (concat (buffer-substring (pos-bol) (+ (pos-bol)
(current-indentation)))
- s))
- cc2)))))
+ (let ((bol (line-beginning-position)))
+ (list bol (point)
+ (mapcar
+ (lambda (s)
+ (concat (buffer-substring bol (+ bol
(current-indentation)))
+ s))
+ cc2))))))
(setq-local completion-at-point-functions
(list comp1 comp2))
- [elpa] externals/company updated (393940f76a -> 9c273fc7c1), ELPA Syncer, 2024/09/26
- [elpa] externals/company bae009cfca 3/5: Merge branch 'master' into different-capf-function-no-completions, ELPA Syncer, 2024/09/26
- [elpa] externals/company 703a9f892d 1/5: company-capf--candidates: Abort when the underlying capf changes, ELPA Syncer, 2024/09/26
- [elpa] externals/company 9c273fc7c1 5/5: Merge pull request #1494 from company-mode/different-capf-function-no-completions, ELPA Syncer, 2024/09/26
- [elpa] externals/company 74f221dc6e 4/5: Add NEWS entry, ELPA Syncer, 2024/09/26
- [elpa] externals/company 0d83218a94 2/5: Don't use pos-bol, not available in < 29,
ELPA Syncer <=