>From 10814da65829d6918d736188027723dde30b4a3c Mon Sep 17 00:00:00 2001
From: Kodi Arfer <g...@arfer.net>
Date: Thu, 30 May 2013 15:19:57 -0400
Subject: [PATCH] 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
---
 lisp/ox-html.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 297cb55..949c3ba 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -1506,10 +1506,9 @@ INFO is a plist used as a communication channel."
 		     "iso-8859-1")))
     (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
       (if (org-html-html5-p info)
 	  (org-html-close-tag "meta" " charset=\"%s\"" info)
-- 
1.8.1.2

Reply via email to