From mboxrd@z Thu Jan 1 00:00:00 1970 From: pw Subject: Re: modify postamble in html export Date: Sat, 21 Sep 2013 11:00:55 +0200 Message-ID: <523D6047.5020707@riseup.net> References: <523C4AFC.801@riseup.net> <87eh8iola8.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNJ3r-0005wn-Jk for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 05:01:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNJ3l-0001eM-Kb for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 05:01:07 -0400 Received: from mx1.riseup.net ([198.252.153.129]:57341) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNJ3l-0001e8-Ew for emacs-orgmode@gnu.org; Sat, 21 Sep 2013 05:01:01 -0400 In-Reply-To: <87eh8iola8.fsf@ericabrahamsen.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Le 21/09/2013 06:23, Eric Abrahamsen a =E9crit : > 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=20 default postamble in the result. I tried then to achieve the same but by using org-customization which=20 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.=20 But for now I have only "Last update : " without time...