diff options
author | Bastien Guerry <bzg@altern.org> | 2012-07-05 16:02:06 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-07-05 16:02:06 +0200 |
commit | 820803ab9571ff0f9dae5219a9e8dbeeef8bc5ef (patch) | |
tree | 07f6ced100f076f058544debc11ef188aa95a3bc | |
parent | 73951db845993c9df11f88316efa7544e2ba8843 (diff) | |
download | org-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.el | 2 | ||||
-rw-r--r-- | 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 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) |