Procházet zdrojové kódy

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

Patch by Eric Schulte.
Carsten Dominik před 15 roky
rodič
revize
31b0deb4aa
2 změnil soubory, kde provedl 4 přidání a 1 odebrání
  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