about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-06-23 08:12:19 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-06-23 08:12:19 +0100
commitccc974ca9bc76c13618c9b6a76f5c5e9b88c1aab (patch)
tree91637aab833c74563b52bbe86cad03d84fd6015c
parent905c736c6204df9cfeedc7df041430bc46ce2f29 (diff)
downloaddotfiles-ccc974ca9bc76c13618c9b6a76f5c5e9b88c1aab.tar.gz
Play with org babel
-rw-r--r--.emacs.d/lisp/init-org.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-org.el b/.emacs.d/lisp/init-org.el
index a5f0e24..365ce79 100644
--- a/.emacs.d/lisp/init-org.el
+++ b/.emacs.d/lisp/init-org.el
@@ -36,6 +36,11 @@
   (define-org-wrap "verbatim" ?=)
   (define-org-wrap "code" ?~)
   (define-org-wrap "strike-through" ?+)
+  (org-babel-do-load-languages
+   'org-babel-load-languages
+   '((shell . t)
+     (elasticsearch . t)
+     (sql . t)))
   :bind
   ("C-c l" . org-store-link)
   ("C-c a" . org-agenda)
@@ -45,5 +50,8 @@
   ;("C-c c" . org-capture)
   )
 
+(use-package ob-async
+  :ensure t)
+
 (provide 'init-org)
 ;;; init-org.el ends here