ox-html: Fix handling of time-stamp-file

* lisp/ox-html.el (org-html--build-meta-info): Insert no timestamp
  when :time-stamp-file is nil.

TINYCHANGE
This commit is contained in:
Kodi Arfer 2013-05-30 15:19:57 -04:00 committed by Nicolas Goaziou
parent 0018428c25
commit f3ba879079
1 changed files with 3 additions and 4 deletions

View File

@ -1420,10 +1420,9 @@ INFO is a plist used as a communication channel."
(keywords (plist-get info :keywords)))
(concat
(format "<title>%s</title>\n" title)
(format
(when :time-stamp-file
(format-time-string
(concat "<!-- " org-html-metadata-timestamp-format " -->\n"))))
(when (plist-get info :time-stamp-file)
(format-time-string
(concat "<!-- " org-html-metadata-timestamp-format " -->\n")))
(format
"<meta http-equiv=\"Content-Type\" content=\"text/html;charset=%s\"/>\n"
(or (and org-html-coding-system