summaryrefslogtreecommitdiff
path: root/emacs-config.org
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-config.org')
-rw-r--r--emacs-config.org7
1 files changed, 5 insertions, 2 deletions
diff --git a/emacs-config.org b/emacs-config.org
index 0daf01f..8a5217e 100644
--- a/emacs-config.org
+++ b/emacs-config.org
@@ -602,8 +602,11 @@ Add advice to automatically open an edit buffer when inserting a structure templ
Enable supported org babel languages.
#+begin_src elisp
- (dolist (lang '(shell C latex plantuml))
- (cl-pushnew `(,lang . t) org-babel-load-languages))
+ (org-babel-do-load-languages
+ 'org-babel-load-languages '((emacs-lisp . t)
+ (shell . t)
+ (C . t)
+ (plantuml . t)))
#+end_src
Redisplay images when executing an org block.