summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2015-04-09 21:57:13 +0100
committerAlan Pearce2015-04-09 21:57:13 +0100
commit8a0e78e04e42f23cfb09ac6029d45167c00149d4 (patch)
tree2147d2ebae26aa354d9e64894750e26ed8268879 /tag-emacs/emacs.d
parent257c8502f0c584f42467a72cded8617e23e53a79 (diff)
downloadnixfiles-8a0e78e04e42f23cfb09ac6029d45167c00149d4.tar.lz
nixfiles-8a0e78e04e42f23cfb09ac6029d45167c00149d4.tar.zst
nixfiles-8a0e78e04e42f23cfb09ac6029d45167c00149d4.zip
Emacs: Enable ledger weaving with org-babel
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 50a6ed77..b3b505e5 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -874,6 +874,13 @@ mouse-1: Display Line and Column Mode Menu"))))))
                   (if (looking-at (concat " +" org-todo-regexp "\\( +\\|[ \t]*$\\)"))
                       (org-todo "STARTED")))))))
 
+(req-package org-babel
+  :require org
+  :defer t
+  :config (org-babel-do-load-languages
+           'org-babel-load-languages
+           '((ledger . t))))
+
 (req-package org-journal
   :require org
   :defer t