From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haojun Bao Subject: bug(?) ox-html always add a timestamp in comment which can't be customized away Date: Sat, 8 Jun 2013 13:22:03 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff2511c5385b804de9dba14 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlBbK-000147-3m for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 01:22:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlBbJ-0000jz-C1 for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 01:22:06 -0400 Received: from mail-oa0-x22d.google.com ([2607:f8b0:4003:c02::22d]:55148) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlBbJ-0000jT-6M for emacs-orgmode@gnu.org; Sat, 08 Jun 2013 01:22:05 -0400 Received: by mail-oa0-f45.google.com with SMTP id j6so4073687oag.18 for ; Fri, 07 Jun 2013 22:22:04 -0700 (PDT) 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: emacs-orgmode --e89a8ff2511c5385b804de9dba14 Content-Type: text/plain; charset=UTF-8 The culprit code is the following: (when :time-stamp-file (format-time-string (concat "\n"))) This `when' condition is always true, because :time-stamp-file is a keyword and always eval to itself, never to nil. So I think org-export-time-stamp-file should be used instead of :time-stamp-file. --e89a8ff2511c5385b804de9dba14 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The culprit code is the following:

= =C2=A0 (when :time-stamp-file
=C2=A0=C2=A0=C2=A0 (format-time-string
= =C2=A0=C2=A0=C2=A0 =C2=A0(concat "<!-- " org-html-metadata-tim= estamp-format " -->\n")))

This `when' condition is always true, because :time-stamp-fil= e is a keyword and always eval to itself, never to nil.

So I t= hink org-export-time-stamp-file should be used instead of :time-stamp-file.=

--e89a8ff2511c5385b804de9dba14--