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 <e.fraga@ucl.ac.uk>
<http://permalink.gmane.org/gmane.emacs.orgmode/103251>
This commit is contained in:
Nicolas Goaziou 2015-12-02 22:22:24 +01:00
parent 6b2c38bb71
commit b49f2e0b75
1 changed files with 1 additions and 1 deletions

View File

@ -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))
": ")