mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-20 13:49:04 +00:00
adding org-src-lang-modes as place holder until something comparable makes it's way into the org core
This commit is contained in:
parent
41f4401c84
commit
e56bed5fc8
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue