Browse Source

org-src-lang-modes: added alias "C" to "c"

* lisp/org-src.el (org-src-lang-modes): Added a language alias of "C"
  to "c".
Eric Schulte 14 năm trước cách đây
mục cha
commit
1997e19bd5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lisp/org-src.el

+ 1 - 1
lisp/org-src.el

@@ -153,7 +153,7 @@ but which mess up the display of a snippet in Org exported files.")
 (defcustom org-src-lang-modes
   '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist)
     ("asymptote" . asy) ("dot" . fundamental) ("sqlite" . sql)
-    ("calc" . fundamental))
+    ("calc" . fundamental) ("C" . c))
   "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