[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Remove postamble in exported html from org-mode
From: |
Rasmus |
Subject: |
Re: [O] Remove postamble in exported html from org-mode |
Date: |
Wed, 30 Dec 2015 11:42:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Xin <address@hidden> writes:
> Nick Dokos <ndokos <at> gmail.com> writes:
>
>>
>> Xin <zariskij <at> gmail.com> writes:
>>
>> > Is there any way to globally remove the postamble (author, created date,
> etc..)
>> > of exported html from org-mode?
>> >
>> > I tried (setq org-html-postamble nil) in my init.el, but it doesn't work.
>> >
>>
>> Try doing that *after* ox-html is loaded:
>>
>> (eval-after-load "ox-html" (setq org-html-postamble nil))
>>
>
>
> Thanks for the reply. But it doesn't seem to work either.
>
> By the way, manually adding #+OPTIONS: html-postamble:nil to each org file
> does
> work. Just everything I tried in init.el has no effect at all (the value of
> org-
> html-postamble is indeed nil when I evaluate it).
Does the following snippet work from a clean Emacs? And a dirty?
(let ((org-html-postamble nil))
(require 'ox)
(with-temp-buffer
(insert "x")
(org-html-export-as-html)))
Rasmus
--
Nothing's wrong with an email that ends in a minor key