From 3ee6b99f06c6b1bed88e65d78cafc98bf6de9819 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 28 Jul 2010 21:05:50 -0400 Subject: [PATCH] Added a missing call to (goto-char (point-min)) --- lisp/org-capture.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 2efed78af..0ecea6ac7 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1144,6 +1144,7 @@ The template may still contain \"%?\" for cursor positioning." (insert result))))) ;; Simple %-escapes + (goto-char (point-min)) (while (re-search-forward "%\\([tTuUaiAcxkKI]\\)" nil t) (unless (org-capture-escaped-%) (when (and initial (equal (match-string 0) "%i"))