branch: externals/tempel
commit 9873904b745d4d1ee1cbb0db8a2afbd845e1e8c9
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
tempel-complete: Fix for tempel-trigger-prefix
---
tempel.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tempel.el b/tempel.el
index 5a5cd51c68..81f068d82c 100644
--- a/tempel.el
+++ b/tempel.el
@@ -627,7 +627,7 @@ If INTERACTIVE is nil the function acts like a capf."
(when-let (templates (tempel--templates))
(let* ((region (tempel--region))
(bounds (or (and (not region) (tempel--prefix-bounds))
- (cons (point) (point)))))
+ (and (not tempel-trigger-prefix) (cons (point)
(point))))))
(list (car bounds) (cdr bounds)
(tempel--completion-table templates)
:exclusive 'no