summaryrefslogtreecommitdiff
path: root/tw/home/files/emacs-init.el
diff options
context:
space:
mode:
authorTimo Wilken2023-04-14 17:00:27 +0200
committerTimo Wilken2023-04-14 17:00:27 +0200
commit80cf0a089cea8843ea9cbe7c7892f0f4abd21a88 (patch)
treeef18f38fb8badeae695b2710ef55eb1f4eaed101 /tw/home/files/emacs-init.el
parent97aa03f3c3d79018754a5cbd3f539ee61f576eea (diff)
Allow using more languages in org-mode
Diffstat (limited to 'tw/home/files/emacs-init.el')
-rw-r--r--tw/home/files/emacs-init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/tw/home/files/emacs-init.el b/tw/home/files/emacs-init.el
index d57c5162..c23961aa 100644
--- a/tw/home/files/emacs-init.el
+++ b/tw/home/files/emacs-init.el
@@ -360,10 +360,14 @@
:after (org)
:custom
(org-confirm-babel-evaluate nil "Allow running code blocks without confirmation.")
+ ;; List of supported languages:
+ ;; https://orgmode.org/worg/org-contrib/babel/languages/index.html
(org-babel-load-languages
'((emacs-lisp . t)
+ (lisp . t)
(dot . t)
- (python . t))
+ (python . t)
+ (rec . t)) ; see `ob-rec' below
"Load bindings for more languages for use in #+begin_src blocks."))
(defun tw/latex-section-commands (name)