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

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

[elpa] externals/tempel 9873904b74: tempel-complete: Fix for tempel-trig


From: ELPA Syncer
Subject: [elpa] externals/tempel 9873904b74: tempel-complete: Fix for tempel-trigger-prefix
Date: Tue, 5 Apr 2022 23:57:52 -0400 (EDT)

branch: externals/tempel
commit 9873904b745d4d1ee1cbb0db8a2afbd845e1e8c9
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    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



reply via email to

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