|
@@ -1646,7 +1646,7 @@ The template may still contain \"%?\" for cursor positioning."
|
|
|
;; Mark %() embedded elisp for later evaluation.
|
|
|
(org-capture-expand-embedded-elisp 'mark)
|
|
|
;; Expand non-interactive templates.
|
|
|
- (let ((regexp "%\\(:[-a-za-z]+\\|<\\([^>\n]+\\)>\\|[aAcfFikKlntTuUx]\\)"))
|
|
|
+ (let ((regexp "%\\(:[-A-Za-z]+\\|<\\([^>\n]+\\)>\\|[aAcfFikKlntTuUx]\\)"))
|
|
|
(save-excursion
|
|
|
(while (re-search-forward regexp nil t)
|
|
|
;; `org-capture-escaped-%' may modify buffer and cripple
|