org-babel: asymptote maps to asy-mode in `org-src-lang-modes' and added requirements section to org-babel-asymptote.el
This commit is contained in:
parent
738ba015a3
commit
8e87868df2
|
@ -38,6 +38,12 @@
|
||||||
;;
|
;;
|
||||||
;; 4) there are no variables (at least for now)
|
;; 4) there are no variables (at least for now)
|
||||||
|
|
||||||
|
;;; Requirements:
|
||||||
|
|
||||||
|
;; - The asymptote program :: http://asymptote.sourceforge.net/
|
||||||
|
;;
|
||||||
|
;; - asy-mode :: Major mode for editing asymptote files
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(require 'org-babel)
|
(require 'org-babel)
|
||||||
|
|
||||||
|
|
|
@ -110,7 +110,8 @@ or similar things which you want to have when editing a source code file,
|
||||||
but which mess up the display of a snippet in Org exported files.")
|
but which mess up the display of a snippet in Org exported files.")
|
||||||
|
|
||||||
(defcustom org-src-lang-modes
|
(defcustom org-src-lang-modes
|
||||||
'(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist))
|
'(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist)
|
||||||
|
("asymptote" . asy))
|
||||||
"Alist mapping languages to their major mode.
|
"Alist mapping languages to their major mode.
|
||||||
The key is the language name, the value is the string that should
|
The key is the language name, the value is the string that should
|
||||||
be inserted as the name of the major mode. For many languages this is
|
be inserted as the name of the major mode. For many languages this is
|
||||||
|
|
Loading…
Reference in New Issue