aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-09-02 13:22:04 +0800
committerAaron LI <aaronly.me@outlook.com>2016-09-02 13:22:04 +0800
commita5e018a36dfd6ab24b083914e5c319c1b4fbfd92 (patch)
tree55c9b5103b6a62d1082b65e7a6e3ad09f23a302d
parent15a57409dad5ed3aadb3ea1f59f5d8f621e100cb (diff)
downloaddotfiles-a5e018a36dfd6ab24b083914e5c319c1b4fbfd92.tar.bz2
spacemacs: add org-babel config and set ditaa path for org
-rw-r--r--_spacemacs.d/config/aly-org-config.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/_spacemacs.d/config/aly-org-config.el b/_spacemacs.d/config/aly-org-config.el
index cdb3937..8fe3926 100644
--- a/_spacemacs.d/config/aly-org-config.el
+++ b/_spacemacs.d/config/aly-org-config.el
@@ -22,6 +22,16 @@
(setq org-agenda-files '("~/org/todo.org"
"~/org/task.org"
"~/org/astro.org"))
+ ;; active Babel languages
+ (org-babel-do-load-languages
+ 'org-babel-load-languages
+ '((emacs-lisp . t)
+ (sh . t)
+ (python . t)
+ (ditaa . t)
+ ))
+ ;; set the path to the `ditaa' program
+ (setq org-ditaa-jar-path "~/.spacemacs.d/local/ditaa/ditaa.jar")
) ;; with-eval-after-load 'org