summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2016-01-11 23:51:54 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-01-11 23:51:54 +0100
commita9713669102364f2d0c31700f09b386a513f9a44 (patch)
treecc52fcb0c60231fb77aeb8718aae7c415fcc6c3d
parenta1b1eaf3b4a643af5a9caaa599da611a27d3d6cf (diff)
downloadorg-mode-a9713669102364f2d0c31700f09b386a513f9a44.tar.gz
org-capture: Fix interactive template placeholders
* lisp/org-capture.el (org-capture-fill-template): Allow spaces in interactive placeholders. Reported-by: Charles Millar <millarc@verizon.net> <http://permalink.gmane.org/gmane.emacs.orgmode/104113>
-rw-r--r--lisp/org-capture.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 5c9ac6f..e4dff77 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))
": ")