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)
|
||||
("ts" . typescript-ts)
|
||||
("tsx" . tsx-ts)
|
||||
("dot" . graphviz-dot)
|
||||
("html" . mhtml)
|
||||
("json" . js-json))
|
||||
'(("js" . js)
|
||||
("ts" . typescript)
|
||||
("tsx" . typescript-tsx)
|
||||
("dot" . graphviz-dot)
|
||||
("html" . mhtml)
|
||||
("json" . js-json)))
|
||||
"Better src lang reflex to mode.")
|
||||
@@ -92,9 +94,5 @@
|
||||
(with-eval-after-load 'ob-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)
|
||||
Reference in new issue
Block a user