branch: externals/tempel
commit 64f896d782334e4c1d78134b96c677fa31ba7fba
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    Fix jump to first field
---
 tempel.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tempel.el b/tempel.el
index 46420e1093..f567f7c17a 100644
--- a/tempel.el
+++ b/tempel.el
@@ -277,7 +277,8 @@ INIT is the optional initial input."
       (push st tempel--active)))
   ;; Jump to first field
   (unless (cl-loop for ov in (caar tempel--active)
-                   thereis (eq (point) (overlay-start ov)))
+                   thereis (and (overlay-get ov 'tempel--state)
+                                (eq (point) (overlay-start ov))))
     (tempel-next 1)))
 
 (defun tempel--save ()

Reply via email to