Add the capture feature sexp to org feed
commit042db379fcf0e765d6e13400d87a9dcbffb6a5b8
authorMichael Brand <michael.ch.brand@gmail.com>
Sat, 11 Aug 2012 16:49:38 +0000 (11 18:49 +0200)
committerBastien Guerry <bzg@altern.org>
Sat, 11 Aug 2012 16:55:12 +0000 (11 18:55 +0200)
tree85419eb68514ea62177a9948832b4d214e992343
parent6966f20af2da50f77428671aa99905200e4f4a73
Add the capture feature sexp to org feed

* org-feed.el (org-feed-format-entry): Require `org-capture'.
Expand Elisp %(...) templates.
(org-feed-default-template): Update docstring.

* org-capture.el (org-capture-expand-embedded-elisp): New
function.
(org-capture-fill-template): Use it.
(org-capture-inside-embedded-elisp-p): New function to tell if
we are within an Elisp %(...) template.
lisp/org-capture.el
lisp/org-feed.el