Просмотр исходного кода

Add language abbreviation "elisp" for "emacs-lisp".

Patch by Eric Schulte.
Carsten Dominik 15 лет назад
Родитель
Сommit
31b0deb4aa
2 измененных файлов с 4 добавлено и 1 удалено
  1. 3 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-src.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org-src.el (org-src-lang-modes): Add abbreviation elisp for
+	emacs lisp.
+
 	* org.el (org-open-at-point): When on headline, offer all strings
 	in entry.
 

+ 1 - 1
lisp/org-src.el

@@ -110,7 +110,7 @@ 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))
+  '(("ocaml" . tuareg) ("elisp" . emacs-lisp))
   "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