From a9713669102364f2d0c31700f09b386a513f9a44 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 11 Jan 2016 23:51:54 +0100 Subject: [PATCH] org-capture: Fix interactive template placeholders * lisp/org-capture.el (org-capture-fill-template): Allow spaces in interactive placeholders. Reported-by: Charles Millar --- lisp/org-capture.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 5c9ac6f49..e4dff77db 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1760,7 +1760,7 @@ The template may still contain \"%?\" for cursor positioning." (member key '("u" "U")) nil nil (list org-end-time-was-given)))) (_ - (push (completing-read + (push (org-completing-read (concat (or prompt "Enter string") (and default (format " [%s]" default)) ": ") -- 2.11.4.GIT