On Aug 6, 2010, at 12:11 PM, Thomas Jack wrote:
2010/8/6 Sébastien Vauban <wxhgmqzgw...@spammotel.com>:
But just wanted to confirm you this seems, then, a bug to me
(regarding what
the doc promises).
Thanks for the confirmation.
The following patch seems to fix the problem:
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 111f7f7..1e407f1 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -1045,6 +1045,7 @@ Lisp programs can force the template by setting
KEYS to a string."
"Fill a template and return the filled template as a string.
The template may still contain \"%?\" for cursor positioning."
(setq template (or template (org-capture-get :template)))
+ (setq initial (or initial (org-capture-get :initial)))
(when (stringp initial)
(setq initial (org-no-properties initial))
(remove-text-properties 0 (length initial) '(read-only t)
initial))
Applied, at a slightly different place in that function.
Thanks!
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode