From e56bed5fc8abf616b560fec78f4a1fe5e03ce7e6 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Tue, 18 Aug 2009 13:37:18 -0600 Subject: [PATCH] adding org-src-lang-modes as place holder until something comparable makes it's way into the org core --- lisp/org-babel-tangle.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lisp/org-babel-tangle.el b/lisp/org-babel-tangle.el index 6298ddbd3..b0450e62c 100644 --- a/lisp/org-babel-tangle.el +++ b/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 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) "Load the contents of the Emacs Lisp source code blocks in the org-mode formatted FILE. This function will first export the