From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kodi Arfer Subject: [PATCH] ox-html: Fix handling of time-stamp-file Date: Thu, 30 May 2013 15:23:05 -0400 Message-ID: <51A7A719.60804@arfer.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080003060201010000090204" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui8RO-0008Ii-EL for emacs-orgmode@gnu.org; Thu, 30 May 2013 15:23:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ui8RH-0007TT-Uf for emacs-orgmode@gnu.org; Thu, 30 May 2013 15:23:14 -0400 Received: from mxout-07.mxes.net ([216.86.168.182]:10854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ui8RH-0007TC-P4 for emacs-orgmode@gnu.org; Thu, 30 May 2013 15:23:07 -0400 Received: from [192.168.1.4] (unknown [24.46.191.0]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9F06B22E1F4 for ; Thu, 30 May 2013 15:23:06 -0400 (EDT) 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@gnu.org This is a multi-part message in MIME format. --------------080003060201010000090204 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit --------------080003060201010000090204 Content-Type: text/x-patch; name="0001-ox-html-Fix-handling-of-time-stamp-file.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-ox-html-Fix-handling-of-time-stamp-file.patch" >From 10814da65829d6918d736188027723dde30b4a3c Mon Sep 17 00:00:00 2001 From: Kodi Arfer 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 "%s\n" title) - (format - (when :time-stamp-file - (format-time-string - (concat "\n")))) + (when (plist-get info :time-stamp-file) + (format-time-string + (concat "\n"))) (format (if (org-html-html5-p info) (org-html-close-tag "meta" " charset=\"%s\"" info) -- 1.8.1.2 --------------080003060201010000090204--