aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-23 03:50:53 -0500
committerCraig Jennings <c@cjennings.net>2026-05-23 03:50:53 -0500
commit35b7270fea8ec90b80e3b768c3cc2eb6c18f1836 (patch)
tree279b4fe3ad0dcf653ebb7bc80ae66dd76eaadfed /modules
parent4b2505eda61f1b9414b05c51fb75a4733e1d8f8d (diff)
downloaddotemacs-35b7270fea8ec90b80e3b768c3cc2eb6c18f1836.tar.gz
dotemacs-35b7270fea8ec90b80e3b768c3cc2eb6c18f1836.zip
fix(org-babel): correct java structure-template language name
The `<java` Org Tempo template expanded to "#+begin_src javas", a typo for "java", so a Java source block came out tagged with a bogus language. I fixed the entry to "src java" and added a test that pins seven common aliases (bash, zsh, el, py, json, yaml, java) to their intended src language names, so the next typo in the template list gets caught.
Diffstat (limited to 'modules')
-rw-r--r--modules/org-babel-config.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/org-babel-config.el b/modules/org-babel-config.el
index bfa31d8f3..2c52ae464 100644
--- a/modules/org-babel-config.el
+++ b/modules/org-babel-config.el
@@ -128,7 +128,7 @@ FLAG is the raw prefix argument passed interactively."
(add-to-list 'org-structure-template-alist '("dot" . "src dot :file temp.png :cmdline -Kdot -Tpng"))
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
(add-to-list 'org-structure-template-alist '("js" . "src javascript"))
- (add-to-list 'org-structure-template-alist '("java" . "src javas"))
+ (add-to-list 'org-structure-template-alist '("java" . "src java"))
(add-to-list 'org-structure-template-alist '("json" . "src json"))
(add-to-list 'org-structure-template-alist '("latex" . "src latex"))
(add-to-list 'org-structure-template-alist '("py" . "src python"))