Browse Source

adding org-src-lang-modes as place holder until something comparable makes it's way into the org core

Eric Schulte 16 years ago
parent
commit
e56bed5fc8
1 changed files with 9 additions and 0 deletions
  1. 9 0
      lisp/org-babel-tangle.el

+ 9 - 0
lisp/org-babel-tangle.el

@@ -39,6 +39,15 @@ shebang(#!) line to use when writing out the language to file,
 and an optional flag indicating that the language is not
 and an optional flag indicating that the language is not
 commentable.")
 commentable.")
 
 
+;; This is just a place holder until this variable (or comparable) is
+;; inserted into org-mode
+(defcustom org-src-lang-modes
+  '(:ocaml "tuareg")
+  "Property list mapping languages to their major mode.
+The key is the language name, the value is the string that should
+be inserted as the name of the major mode."
+  :type 'plist)
+
 (defun org-babel-load-file (file)
 (defun org-babel-load-file (file)
   "Load the contents of the Emacs Lisp source code blocks in the
   "Load the contents of the Emacs Lisp source code blocks in the
 org-mode formatted FILE.  This function will first export the
 org-mode formatted FILE.  This function will first export the