From 92847f2b2a6a083695ebfad994170fab8f7f8d72 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 2 Jan 2014 19:38:53 -0800 Subject: [PATCH] add org babel support work --- .emacs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.emacs b/.emacs index ed0fd4c..350375c 100644 --- a/.emacs +++ b/.emacs @@ -608,6 +608,21 @@ Argument DESCRIPTION MIME description." (setq org-icalendar-timezone "America/Los_Angeles") (setq org-icalendar-use-scheduled '(todo-start event-if-todo)) (setq org-icalendar-store-UID t) + +;; org babel support +(org-babel-do-load-languages + 'org-babel-load-languages + '((emacs-lisp . t ) + (R . t) + (latex . t))) +;; org-babel-by-backend +(defmacro org-babel-by-backend (&rest body) + `(case (if (boundp 'backend) + (org-export-backend-name backend) + nil) ,@body)) + + + ;; org latex ;; stolen from http://kieranhealy.org/esk/kjhealy.html (require 'org-latex) -- 2.39.2