aboutsummaryrefslogtreecommitdiffstats
path: root/_spacemacs.d/config/aly-org-config.el
blob: 8fe392622d28ae88f752059edd97d295697d4f69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
;;; aly-org-config.el --- My configurations for org-mode
;; -*- mode: emacs-lisp -*-
;; vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=lisp:
;;
;; Aaron LI
;; Created: 2016-05-31
;; Updated: 2016-05-31
;;

;;; Commentary:
;; My custom configurations for the `org' of spacemacs.
;; https://github.com/syl20bnr/spacemacs/blob/master/layers/org/README.org
;;

;;; Code:

;; NOTE:
;; Spacemacs use the `org' from the ELPA instead of the one shipped with
;; Emacs.  Then, any `org'-related code should NOT be loaded before
;; `dotspacemacs/user-config'.
(with-eval-after-load 'org
  (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


(provide 'aly-org-config)

;;; aly-org-config.el ends here