Hi Carsten, I think the original problem is in the defcustom specification:
org-capture.el L292 (choice :tag "Template" (string) (list :tag "File" (const :format "" file) (file :tag "Template file")) (list :tag "Function" (const :format "" function) (file :tag "Template function"))) The last line should read 'sexp' instead of 'file'. This is why the function is being held as a string. Saludos, .j. On Mon, Jul 19, 2010 at 09:05:06AM +0200, Carsten Dominik wrote: > the function must be a symbol in this setup, not a string. > I am rejecting this patch. > > On Jul 19, 2010, at 3:45 AM, Juan Pechiar wrote: > >Below is a patch for org-capture when the template is given by a LISP > >function. > > > >Problem was that the function is inside a string (not a LISP form), so > >the string has to be evaluated explicitly. _______________________________________________ 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