[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] bug(?) ox-html always add a timestamp in comment which can't be
From: |
Nick Dokos |
Subject: |
Re: [O] bug(?) ox-html always add a timestamp in comment which can't be customized away |
Date: |
Sat, 08 Jun 2013 01:30:43 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Haojun Bao <address@hidden> writes:
> The culprit code is the following:
>
> (when :time-stamp-file
> (format-time-string
> (concat "<!-- " org-html-metadata-timestamp-format " -->\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.
>
What version are you using? In the version I have, the code looks like
this:
(when (plist-get info :time-stamp-file)
(format-time-string
(concat "<!-- " org-html-metadata-timestamp-format " -->\n")))
Org-mode version 8.0.3 (release_8.0.3-197-g221768)
[nb: this version includes a few local commits (irrelevant to this subject)]
--
Nick