On Wed, Sep 21, 2016 at 10:51:46PM +0200, Nicolas Goaziou wrote: > Hello, > > li...@wilkesley.net writes: > > > commit 5485170263a46fa17db67b0324c4c4e48bcdfe49 > > Author: Nicolas Goaziou <m...@nicolasgoaziou.fr> > > Date: Fri Jun 24 01:11:49 2016 +0200 > > > > org-capture: Remove forbidden value type from "file" templates > > > Try wrapping `capture-pelican-draft-file' call within a function instead > of putting a raw sexp. >
I have tried: ("g" "New blog post (ianbarton.net)" plain (file (funcall(capture-pelican-draft-file "~/Documents/emacs/web_sites/ianbarton.net/org/_posts"))) "#+AUTHOR: Ian Barton\n#+DATE: %u\n#+PROPERTY: MODIFIED: \n#+TITLE\n#+CATEGORY: Blog \n#+PROPERTY: TAGS \n#+PROPERTY: SUMMARY \n#+SETUPFILE: ../setup.org\n\n") Not sure if that's what you meant. It didn't work. -- Best wishes, Ian.