diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-12-02 22:22:24 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-12-02 22:22:24 +0100 |
commit | b49f2e0b75ab2e146fa1e12cece9f1f38a10289c (patch) | |
tree | 7c495f73babc9967ec735164cee427322c4697f5 | |
parent | 6b2c38bb71c4637786f828e035690e25ea5134b3 (diff) | |
download | org-mode-b49f2e0b75ab2e146fa1e12cece9f1f38a10289c.tar.gz |
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>
-rw-r--r-- | lisp/org-capture.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 6aa100f..c468274 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)) ": ") |