From: Kodi Arfer <kodi@arfer.net>
To: emacs-orgmode@gnu.org
Subject: [PATCH] ox-html: Fix handling of time-stamp-file
Date: Thu, 30 May 2013 15:23:05 -0400 [thread overview]
Message-ID: <51A7A719.60804@arfer.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 0 bytes --]
[-- Attachment #2: 0001-ox-html-Fix-handling-of-time-stamp-file.patch --]
[-- Type: text/x-patch, Size: 1059 bytes --]
From 10814da65829d6918d736188027723dde30b4a3c Mon Sep 17 00:00:00 2001
From: Kodi Arfer <git@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
next reply other threads:[~2013-05-30 19:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-30 19:23 Kodi Arfer [this message]
2013-05-30 19:45 ` [PATCH] ox-html: Fix handling of time-stamp-file Nicolas Goaziou
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=51A7A719.60804@arfer.net \
--to=kodi@arfer.net \
--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).