From 8e87868df2adfa75d59e9b74752985c81ef1f069 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 16 Sep 2009 10:54:43 -0600 Subject: [PATCH] org-babel: asymptote maps to asy-mode in `org-src-lang-modes' and added requirements section to org-babel-asymptote.el --- contrib/babel/lisp/langs/org-babel-asymptote.el | 6 ++++++ lisp/org-src.el | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/contrib/babel/lisp/langs/org-babel-asymptote.el b/contrib/babel/lisp/langs/org-babel-asymptote.el index 1e8a06054..b44e72699 100644 --- a/contrib/babel/lisp/langs/org-babel-asymptote.el +++ b/contrib/babel/lisp/langs/org-babel-asymptote.el @@ -38,6 +38,12 @@ ;; ;; 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: (require 'org-babel) diff --git a/lisp/org-src.el b/lisp/org-src.el index d09e540a9..5cd2fc670 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -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.") (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. 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 -- 2.11.4.GIT