浏览代码

ox-html.el: Add version and package-version to some options

* ox-html.el (org-html-format-drawer-function)
(org-html-format-headline-function)
(org-html-format-inlinetask-function)
(org-html-creator-string): Add version and package-version.

Thanks to Jambunathan for reporting problems in this area.
Bastien Guerry 12 年之前
父节点
当前提交
d2ba43c496
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      lisp/ox-html.el

+ 8 - 0
lisp/ox-html.el

@@ -583,6 +583,8 @@ in order to mimic default behaviour:
   \"Format a drawer element for HTML export.\"
   \"Format a drawer element for HTML export.\"
   contents\)"
   contents\)"
   :group 'org-export-html
   :group 'org-export-html
+  :version "8.0"
+  :package-version '(Org . "8.0")
   :type 'function)
   :type 'function)
 
 
 ;;;; Footnotes
 ;;;; Footnotes
@@ -636,6 +638,8 @@ TAGS      the tags (string or nil).
 
 
 The function result will be used in the section format string."
 The function result will be used in the section format string."
   :group 'org-export-html
   :group 'org-export-html
+  :version "8.0"
+  :package-version '(Org . "8.0")
   :type 'function)
   :type 'function)
 
 
 ;;;; HTML-specific
 ;;;; HTML-specific
@@ -664,6 +668,8 @@ The function must accept six parameters:
 
 
 The function should return the string to be exported."
 The function should return the string to be exported."
   :group 'org-export-html
   :group 'org-export-html
+  :version "8.0"
+  :package-version '(Org . "8.0")
   :type 'function)
   :type 'function)
 
 
 ;;;; LaTeX
 ;;;; LaTeX
@@ -1121,6 +1127,8 @@ like that: \"%%\"."
   "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
+  :version "24.4"
+  :package-version '(Org . "8.0")
   :type '(string :tag "Creator string"))
   :type '(string :tag "Creator string"))
 
 
 ;;;; Template :: Preamble
 ;;;; Template :: Preamble