Le 21/09/2013 06:23, Eric Abrahamsen a écrit :
Whoops, that's what I get for posting untested code... As Nicholas
points out the function should take an argument, but in your simplest
case you can ignore it:

(defun my-org-html-postamble (plist)
   (format "Last update : %s" (format-time-string "%d %b %Y")))

Thanks.

I tried this new code (by pasting it into .emacs). But I have the default postamble in the result.

I tried then to achieve the same but by using org-customization which put into .emacs this :

'(org-html-postamble t)
'(org-html-postamble-format (quote (("en" "Last update : %d"))))

If it was working I would try to modify %d to have a %d %b %Y format. But for now I have only "Last update : " without time...


Reply via email to