forked from technomancy/emacs-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org-babel-defuns.el
42 lines (35 loc) · 1.25 KB
/
org-babel-defuns.el
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
41
42
(org-babel-do-load-languages
'org-babel-load-languages
'((R . t)
(emacs-lisp . t)
(ruby . t)
(latex . t)
(haskell . t)
(clojure . t)))
(setq org-src-window-setup 'current-window)
(setq org-confirm-babel-evaluate nil)
(setq org-src-fontify-natively t)
(setq org-babel-default-header-args:clojure
'((:results . "silent") (:tangle . "yes")))
(setq org-publish-project-alist
'(
("org-samritchie"
;; Path to your org files.
:base-directory "~/sritchie.github.com/org/"
:base-extension "org"
;; Path to your Jekyll project.
:publishing-directory "~/sritchie.github.com/"
:recursive t
:publishing-function org-publish-org-to-html
:headline-levels 4
:html-extension "html"
:body-only t ;; Only export section between <body> </body>
:exclude "_drafts/*")
("org-static-sam"
:base-directory "~/sritchie.github.com/org/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php"
:publishing-directory "~/sritchie.github.com/"
:recursive t
:publishing-function org-publish-attachment)
("sam" :components ("org-samritchie" "org-static-sam"))))
(provide 'org-babel-defuns)