Michael Brand <michael.ch.br...@gmail.com> writes:

> When you evaluate
>
> (progn
>   (require 'org-feed)
>   (org-feed-format-entry
>    '(:title "5 % less (see\n item \"3)\" somewhere)"  ; %h
>      :link "http://ORGMODE.org";  ; %a
>      :pubDate "Sat, 02 Jan 2016 12:00:00 +0000")  ; %u
>    "%(capitalize \"%h\n of\") THE %(downcase \"%a\") %u"
>    nil))
>
> do you get the expected "Lisp error: (void-function
> org-capture-expand-embedded-elisp)" like me on
> release_8.3.2-350-gbd3a2cb and today's release_8.3.2-441-ga87dea3 ?

I do. Somehow, I didn't see this before. This is because I renamed
`org-capture-expand-embedded-elisp' into
`org-capture--expand-embedded-elisp'.

However, ISTM there is some code duplication between
`org-feed-format-entry' and `org-capture-fill-template'. Is calling
`org-capture-expand-embedded-elisp' from the former the right thing to
do?

Regards,

Reply via email to