Procházet zdrojové kódy

ox/ox-html: Use a language agnostic and more neutral default creator

* lisp/ox-html.el (org-html-creator-string): Change default value.
* lisp/ox.el (org-export-creator-string): Change default value.
Nicolas Goaziou před 13 roky
rodič
revize
d6d7bc55b8
2 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 3 3
      lisp/ox-html.el
  2. 3 3
      lisp/ox.el

+ 3 - 3
lisp/ox-html.el

@@ -1052,9 +1052,9 @@ like that: \"%%\"."
   :type 'string)
   :type 'string)
 
 
 (defcustom org-html-creator-string
 (defcustom org-html-creator-string
-  (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)
+  (format "<a href=\"http://www.gnu.org/software/emacs/\">Emacs</a> %s (<a href=\"http://orgmode.org\">Org</a> mode %s)"
+	  emacs-version
+	  (if (fboundp 'org-version) (org-version) "unknown version"))
   "Information about the creator of the HTML document.
   "Information about the creator of the HTML document.
 This option can also be set on with the CREATOR keyword."
 This option can also be set on with the CREATOR keyword."
   :group 'org-export-html
   :group 'org-export-html

+ 3 - 3
lisp/ox.el

@@ -385,9 +385,9 @@ string."
 	  (const :tag "No format string" nil)))
 	  (const :tag "No format string" nil)))
 
 
 (defcustom org-export-creator-string
 (defcustom org-export-creator-string
-  (format "Generated by Org mode %s in Emacs %s."
-	  (if (fboundp 'org-version) (org-version) "(Unknown)")
-	  emacs-version)
+  (format "Emacs %s (Org mode %s)"
+	  emacs-version
+	  (if (fboundp 'org-version) (org-version) "unknown version"))
   "Information about the creator of the document.
   "Information about the creator of the document.
 This option can also be set on with the CREATOR keyword."
 This option can also be set on with the CREATOR keyword."
   :group 'org-export-general
   :group 'org-export-general