From b49f2e0b75ab2e146fa1e12cece9f1f38a10289c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 2 Dec 2015 22:22:24 +0100 Subject: [PATCH] org-capture: Fix bd3a2cb (part 2) * lisp/org-capture.el (org-capture-fill-template): Allow more than one word when filling %{prompt} place holders. Reported-by: Eric S Fraga --- 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 6aa100fbe..c4682742b 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1723,7 +1723,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-no-i (concat (or prompt "Enter string") (and default (format " [%s]" default)) ": ")