emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org cbe3f2d697: org-src: add toml and desktop lang alia


From: ELPA Syncer
Subject: [elpa] externals/org cbe3f2d697: org-src: add toml and desktop lang aliases
Date: Sat, 2 Apr 2022 13:57:39 -0400 (EDT)

branch: externals/org
commit cbe3f2d697a973a41a412b826ab9435d5523f3d0
Author: TEC <tec@tecosaur.com>
Commit: TEC <tec@tecosaur.com>

    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.
---
 lisp/org-src.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/org-src.el b/lisp/org-src.el
index 4fac93400c..663ccb334e 100644
--- a/lisp/org-src.el
+++ b/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]