summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-07-05 16:02:06 +0200
committerBastien Guerry <bzg@altern.org>2012-07-05 16:02:06 +0200
commit820803ab9571ff0f9dae5219a9e8dbeeef8bc5ef (patch)
tree07f6ced100f076f058544debc11ef188aa95a3bc
parent73951db845993c9df11f88316efa7544e2ba8843 (diff)
downloadorg-mode-820803ab9571ff0f9dae5219a9e8dbeeef8bc5ef.tar.gz
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.
-rw-r--r--contrib/lisp/org-export.el2
-rw-r--r--lisp/org-html.el3
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el
index c26f2fc..7e5d63e 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 <a href=\"http://orgmode.org\">Org</a> mode %s in <a href=\"http://www.gnu.org/software/emacs/\">Emacs</a> %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 5c0c6b8..c9c9d78 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 "<a href=\"http://orgmode.org\">Org</a> version "
+ (org-version) " with <a href=\"http://www.gnu.org/software/emacs/\">Emacs</a> version "
(number-to-string emacs-major-version))))
(when (plist-get opt-plist :html-postamble)