From f92facd890bf3ced7f261f3a1586dfd715d75bcb Mon Sep 17 00:00:00 2001 From: Litvinov Sergey Date: Fri, 20 Jan 2012 18:26:59 +0100 Subject: [PATCH] Map "screen" to shell-script-mode --- lisp/org-src.el | 3 ++- testing/examples/ob-screen-test.org | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 testing/examples/ob-screen-test.org diff --git a/lisp/org-src.el b/lisp/org-src.el index 27ad922f1..675f89c80 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -153,7 +153,8 @@ 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) ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql) - ("calc" . fundamental) ("C" . c) ("cpp" . c++)) + ("calc" . fundamental) ("C" . c) ("cpp" . c++) + ("screen" . shell-script)) "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 diff --git a/testing/examples/ob-screen-test.org b/testing/examples/ob-screen-test.org new file mode 100644 index 000000000..19ce14763 --- /dev/null +++ b/testing/examples/ob-screen-test.org @@ -0,0 +1,5 @@ +#+Title: a collection of examples for ob-screen tests +#+begin_src screen :session create-tmpdir + mkdir -p $TMPDIR + cd $TMPDIR +#+end_src