summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLitvinov Sergey <slitvinov@gmail.com>2012-01-20 18:26:59 +0100
committerEric Schulte <eric.schulte@gmx.com>2012-01-20 11:47:13 -0700
commitf92facd890bf3ced7f261f3a1586dfd715d75bcb (patch)
tree71146fdac4efbd18fd087a59ae19f889c281c064
parent97e8e03eea0f4f69377df37548a0e51d0cb5ecec (diff)
downloadorg-mode-f92facd890bf3ced7f261f3a1586dfd715d75bcb.tar.gz
Map "screen" to shell-script-mode
-rw-r--r--lisp/org-src.el3
-rw-r--r--testing/examples/ob-screen-test.org5
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/org-src.el b/lisp/org-src.el
index 27ad922..675f89c 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 0000000..19ce147
--- /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