[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tempel 304d0725b6 1/4: tempel-complete: Simplify
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tempel 304d0725b6 1/4: tempel-complete: Simplify |
Date: |
Fri, 15 Apr 2022 09:57:50 -0400 (EDT) |
branch: externals/tempel
commit 304d0725b63277a8672eab74d2962a648045f800
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
tempel-complete: Simplify
---
tempel.el | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/tempel.el b/tempel.el
index eeda56042c..8135d6730b 100644
--- a/tempel.el
+++ b/tempel.el
@@ -639,12 +639,7 @@ If INTERACTIVE is nil the function acts like a capf."
:exclusive 'no
:company-kind (lambda (_) 'snippet)
:exit-function (apply-partially #'tempel--exit templates region)
- :company-prefix-length
- (and tempel-trigger-prefix
- (save-excursion
- (goto-char (car bounds))
- (search-forward tempel-trigger-prefix (cdr bounds)
'noerror) t)
- t)
+ :company-prefix-length (and tempel-trigger-prefix t)
:annotation-function
(and tempel-complete-annotation
(apply-partially #'tempel--annotate