[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tempel cb7c4c294a: Fix tempel-complete (Fix #49)
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tempel cb7c4c294a: Fix tempel-complete (Fix #49) |
Date: |
Fri, 15 Apr 2022 02:57:56 -0400 (EDT) |
branch: externals/tempel
commit cb7c4c294adfbcf1cbc3cfe985f5f12685785ec2
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Fix tempel-complete (Fix #49)
---
tempel.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tempel.el b/tempel.el
index 6e5e6d6314..eeda56042c 100644
--- a/tempel.el
+++ b/tempel.el
@@ -630,10 +630,10 @@ If INTERACTIVE is nil the function acts like a capf."
(when (and tempel-trigger-prefix (not (tempel--prefix-bounds)))
(insert tempel-trigger-prefix))
(tempel--interactive #'tempel-complete))
- (when-let (templates (tempel--templates))
- (let* ((region (tempel--region))
- (bounds (or (and (not region) (tempel--prefix-bounds))
- (and (not tempel-trigger-prefix) (cons (point)
(point))))))
+ (let ((region (tempel--region)))
+ (when-let ((templates (tempel--templates))
+ (bounds (or (and (not region) (tempel--prefix-bounds))
+ (and (not tempel-trigger-prefix) (cons (point)
(point))))))
(list (car bounds) (cdr bounds)
(tempel--completion-table templates)
:exclusive 'no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/tempel cb7c4c294a: Fix tempel-complete (Fix #49),
ELPA Syncer <=