Nicolas Goaziou nicolasgoaziou.fr> writes:
> You may try
>
> (org-file-contents "~/Blog/html/preamble.html")
That worked! Should have figured out that insert-file-contents does not
return a string. Thanks for the help Nicolas!
Happy holidays,
pillow.
Hi Robert,
Thanks for the reply but my end goal is to insert the contents of another
file as the preamble. Ultimately, I want something like this:
(insert-file-contents "~/Blog/html/preamble.html")
To be inserted as the preamble.
Your example works unmodified but once I try to insert the conte
My setup:
;;; Minimal setup to load latest 'org-mode'
;; activate debugging
(setq debug-on-error t
debug-on-signal nil
debug-on-quit nil)
;; add latest org-mode to load path
(add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/org-20151123/"))
(add-to-list 'load-path (expand-file