Explorar el Código

org-src: add toml and desktop lang aliases

* lisp/org-src.el (org-src-lang-modes): It is reasonable to assume that
src blocks with the "toml" and "desktop" lang should use
`conf-toml-mode' and `conf-desktop-mode', respectively.
TEC hace 2 años
padre
commit
cbe3f2d697
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      lisp/org-src.el

+ 3 - 1
lisp/org-src.el

@@ -198,12 +198,14 @@ but which mess up the display of a snippet in Org exported files.")
     ("calc" . fundamental)
     ("cpp" . c++)
     ("ditaa" . artist)
+    ("desktop" . conf-desktop)
     ("dot" . fundamental)
     ("elisp" . emacs-lisp)
     ("ocaml" . tuareg)
     ("screen" . shell-script)
     ("shell" . sh)
-    ("sqlite" . sql))
+    ("sqlite" . sql)
+    ("toml" . conf-toml))
   "Alist mapping languages to their major mode.
 
 The key is the language name.  The value is the mode name, as