diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-01-11 23:51:54 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2016-01-11 23:51:54 +0100 |
commit | a9713669102364f2d0c31700f09b386a513f9a44 (patch) | |
tree | cc52fcb0c60231fb77aeb8718aae7c415fcc6c3d | |
parent | a1b1eaf3b4a643af5a9caaa599da611a27d3d6cf (diff) | |
download | org-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.el | 2 |
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)) ": ") |