Bugfix with interactive prompt in templates expansion.
* org-capture.el (org-capture-fill-template): fix bug with the display of interactive prompt in templates expansion.
This commit is contained in:
parent
3c19ab2092
commit
aa946f224d
|
@ -1279,8 +1279,8 @@ The template may still contain \"%?\" for cursor positioning."
|
|||
(while (re-search-forward "%^\\({\\([^}]*\\)}\\)?\\([gGtTuUCLp]\\)?"
|
||||
nil t)
|
||||
(unless (org-capture-escaped-%)
|
||||
(setq char (if (match-end 3) (match-string 3))
|
||||
prompt (if (match-end 2) (match-string 2)))
|
||||
(setq char (if (match-end 3) (match-string-no-properties 3))
|
||||
prompt (if (match-end 2) (match-string-no-properties 2)))
|
||||
(goto-char (match-beginning 0))
|
||||
(replace-match "")
|
||||
(setq completions nil default nil)
|
||||
|
|
Loading…
Reference in New Issue