summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2014-06-22 19:49:37 -0400
committerEric Schulte <schulte.eric@gmail.com>2014-06-22 19:50:31 -0400
commit8ad20618d1ff574406dc1ad6e998f40029dfb716 (patch)
treeb34c657ec528331ccdfe8c8f8bff81bbf5a38062
parent22410544c71825280a43d27f6c35c2ec73aeca2e (diff)
downloadorg-mode-8ad20618d1ff574406dc1ad6e998f40029dfb716.tar.gz
map alternate code blocks shell names to sh-mode
* lisp/org-src.el (org-src-lang-modes): Map alternate shell names to sh-mode.
-rw-r--r--lisp/org-src.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-src.el b/lisp/org-src.el
index 9200d91..b794877 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -181,7 +181,7 @@ but which mess up the display of a snippet in Org exported files.")
'(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist)
("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql)
("calc" . fundamental) ("C" . c) ("cpp" . c++) ("C++" . c++)
- ("screen" . shell-script))
+ ("screen" . shell-script) ("shell" . sh) ("bash" . sh))
"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