fix: register graphviz-dot in org-src-lang-modes upfront
This commit is contained in:
1 file changed
+2
-4
+2
-4
@@ -14,11 +14,13 @@
|
|||||||
'(("js" . js)
|
'(("js" . js)
|
||||||
("ts" . typescript-ts)
|
("ts" . typescript-ts)
|
||||||
("tsx" . tsx-ts)
|
("tsx" . tsx-ts)
|
||||||
|
("dot" . graphviz-dot)
|
||||||
("html" . mhtml)
|
("html" . mhtml)
|
||||||
("json" . js-json))
|
("json" . js-json))
|
||||||
'(("js" . js)
|
'(("js" . js)
|
||||||
("ts" . typescript)
|
("ts" . typescript)
|
||||||
("tsx" . typescript-tsx)
|
("tsx" . typescript-tsx)
|
||||||
|
("dot" . graphviz-dot)
|
||||||
("html" . mhtml)
|
("html" . mhtml)
|
||||||
("json" . js-json)))
|
("json" . js-json)))
|
||||||
"Better src lang reflex to mode.")
|
"Better src lang reflex to mode.")
|
||||||
@@ -92,9 +94,5 @@
|
|||||||
(with-eval-after-load 'ob-plantuml
|
(with-eval-after-load 'ob-plantuml
|
||||||
(setq org-plantuml-exec-mode 'plantuml))
|
(setq org-plantuml-exec-mode 'plantuml))
|
||||||
|
|
||||||
(with-eval-after-load 'org-src
|
|
||||||
(defvar org-src-lang-modes)
|
|
||||||
(add-to-list 'org-src-lang-modes '("dot" . graphviz-dot)))
|
|
||||||
|
|
||||||
|
|
||||||
(provide 'init-org)
|
(provide 'init-org)
|
||||||
Reference in new issue
Block a user