Hello,

Robert Klein <rokl...@roklein.de> writes:

> I'm trying to use org-list-to-subtree in a publishing projects
> sitemap-function.
>
> However, the org-list-to-subtree function only returns the first entry.
>
> That is, when I run
>
> (org-list-to-subtree  l '(:istart "** "))
>
> after setting the variable l (see below, I didn't want the
> 120+ lines interrupting this text) , I get this result:
>
>
> "**   [[file: openbsd-pxe.org][OpenBSD deployment via PXE]]
>
> #+begin_article-info
> #+BEGIN_date
> 2017-09-10
> #+END_date
>
> #+BEGIN_tags
> OpenBSD, PXE, Installation, Deployment
> #+END_tags
>
> #+begin_article-info
>
> "
>
> where I expected all nine entries in the list.

This is because L is not a valid list. In particular, it contains two
consecutive blank lines, which breaks the list.

Regards,

-- 
Nicolas Goaziou

Reply via email to