소스 검색

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

Patch by Eric Schulte.
Carsten Dominik 16 년 전
부모
커밋
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>
 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
 	* org.el (org-open-at-point): When on headline, offer all strings
 	in entry.
 	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.")
 but which mess up the display of a snippet in Org exported files.")
 
 
 (defcustom org-src-lang-modes
 (defcustom org-src-lang-modes
-  '(("ocaml" . tuareg))
+  '(("ocaml" . tuareg) ("elisp" . emacs-lisp))
   "Alist mapping languages to their major mode.
   "Alist mapping languages to their major mode.
 The key is the language name, the value is the string that should
 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
 be inserted as the name of the major mode.  For many languages this is