瀏覽代碼

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

Patch by Eric Schulte.
Carsten Dominik 15 年之前
父節點
當前提交
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