From 820803ab9571ff0f9dae5219a9e8dbeeef8bc5ef Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 5 Jul 2012 16:02:06 +0200 Subject: [PATCH] Add links to Org mode and GNU Emacs websites in creator strings. * org-html.el (org-export-as-html): Add links to the Org mode and GNU Emacs websites When :html-postamble is set to 't. * org-export.el (org-export-creator-string): Add links to the Org mode and GNU Emacs websites. --- contrib/lisp/org-export.el | 2 +- lisp/org-html.el | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index c26f2fcaf..7e5d63ecf 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -354,7 +354,7 @@ If the value is `comment' insert it as a comment." (const :tag "Insert the sentence" t))) (defcustom org-export-creator-string - (format "Generated by Org mode %s in Emacs %s." + (format "Generated by Org mode %s in Emacs %s." (if (fboundp 'org-version) (org-version) "(Unknown)") emacs-version) "String to insert at the end of the generated document." diff --git a/lisp/org-html.el b/lisp/org-html.el index 5c0c6b804..c9c9d7802 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -1835,7 +1835,8 @@ PUB-DIR is set, use this as the publishing directory." (split-string email ",+ *") ", ")) (creator-info - (concat "Org version " (org-version) " with Emacs version " + (concat "Org version " + (org-version) " with Emacs version " (number-to-string emacs-major-version)))) (when (plist-get opt-plist :html-postamble) -- 2.11.4.GIT