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

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

[elpa] externals/tempel 64f896d782 44/82: Fix jump to first field


From: ELPA Syncer
Subject: [elpa] externals/tempel 64f896d782 44/82: Fix jump to first field
Date: Sun, 9 Jan 2022 20:58:44 -0500 (EST)

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

    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

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