Xin <zaris...@gmail.com> 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