emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Haojun Bao <baohaojun@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <CAABrf9ZMKtB6D4U5cLJczjdq6HhFTxd4=kuS4gHntuf3N+wVdQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 483 bytes --]

             reply	other threads:[~2013-06-08  5:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-08  5:22 Haojun Bao [this message]
2013-06-08  5:30 ` bug(?) ox-html always add a timestamp in comment which can't be customized away Nick Dokos
2013-06-08  5:46   ` Haojun Bao
2013-06-08  6:04     ` Nick Dokos
2013-06-08 14:14       ` Haojun Bao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAABrf9ZMKtB6D4U5cLJczjdq6HhFTxd4=kuS4gHntuf3N+wVdQ@mail.gmail.com' \
    --to=baohaojun@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).