Hello,

Pillow Kuda Sai <pillow.kuda....@gmail.com> writes:

> (defun my-html-preamble (options)
>   (insert-file-contents "~/Blog/html/preamble.html"))
>
> but this does not include my preamble.html.
>
> As far as I could tell from the documentation :html-preamble should accept 
> any function that returns a string but so far no luck.

  (insert-file-contents "~/Blog/html/preamble.html")

doesn't return a string, but a list when evaluated (see
`insert-file-contents' docstring).

You may try

  (org-file-contents "~/Blog/html/preamble.html")


Regards,

-- 
Nicolas Goaziou

Reply via email to