Browse Source

Add :version to ob-tangle.el options.

Bastien Guerry 13 years ago
parent
commit
1755b53625
1 changed files with 7 additions and 0 deletions
  1. 7 0
      lisp/ob-tangle.el

+ 7 - 0
lisp/ob-tangle.el

@@ -47,6 +47,7 @@ be inserted as the extension commonly used to identify files
 written in this language.  If no entry is found in this list,
 written in this language.  If no entry is found in this list,
 then the name of the language is used."
 then the name of the language is used."
   :group 'org-babel-tangle
   :group 'org-babel-tangle
+  :version "24.1"
   :type '(repeat
   :type '(repeat
 	  (cons
 	  (cons
 	   (string "Language name")
 	   (string "Language name")
@@ -55,16 +56,19 @@ then the name of the language is used."
 (defcustom org-babel-post-tangle-hook nil
 (defcustom org-babel-post-tangle-hook nil
   "Hook run in code files tangled by `org-babel-tangle'."
   "Hook run in code files tangled by `org-babel-tangle'."
   :group 'org-babel
   :group 'org-babel
+  :version "24.1"
   :type 'hook)
   :type 'hook)
 
 
 (defcustom org-babel-pre-tangle-hook '(save-buffer)
 (defcustom org-babel-pre-tangle-hook '(save-buffer)
   "Hook run at the beginning of `org-babel-tangle'."
   "Hook run at the beginning of `org-babel-tangle'."
   :group 'org-babel
   :group 'org-babel
+  :version "24.1"
   :type 'hook)
   :type 'hook)
 
 
 (defcustom org-babel-tangle-body-hook nil
 (defcustom org-babel-tangle-body-hook nil
   "Hook run over the contents of each code block body."
   "Hook run over the contents of each code block body."
   :group 'org-babel
   :group 'org-babel
+  :version "24.1"
   :type 'hook)
   :type 'hook)
 
 
 (defcustom org-babel-tangle-comment-format-beg "[[%link][%source-name]]"
 (defcustom org-babel-tangle-comment-format-beg "[[%link][%source-name]]"
@@ -79,6 +83,7 @@ information into the output using `org-fill-template'.
 Whether or not comments are inserted during tangling is
 Whether or not comments are inserted during tangling is
 controlled by the :comments header argument."
 controlled by the :comments header argument."
   :group 'org-babel
   :group 'org-babel
+  :version "24.1"
   :type 'string)
   :type 'string)
 
 
 (defcustom org-babel-tangle-comment-format-end "%source-name ends here"
 (defcustom org-babel-tangle-comment-format-end "%source-name ends here"
@@ -93,6 +98,7 @@ information into the output using `org-fill-template'.
 Whether or not comments are inserted during tangling is
 Whether or not comments are inserted during tangling is
 controlled by the :comments header argument."
 controlled by the :comments header argument."
   :group 'org-babel
   :group 'org-babel
+  :version "24.1"
   :type 'string)
   :type 'string)
 
 
 (defcustom org-babel-process-comment-text #'org-babel-trim
 (defcustom org-babel-process-comment-text #'org-babel-trim
@@ -101,6 +107,7 @@ inserted as comments in tangled source-code files.  The function
 should take a single string argument and return a string
 should take a single string argument and return a string
 result.  The default value is `org-babel-trim'."
 result.  The default value is `org-babel-trim'."
   :group 'org-babel
   :group 'org-babel
+  :version "24.1"
   :type 'function)
   :type 'function)
 
 
 (defun org-babel-find-file-noselect-refresh (file)
 (defun org-babel-find-file-noselect-refresh (file)