diff options
author | 2019-09-16 20:49:42 -0700 | |
---|---|---|
committer | 2019-09-16 20:49:42 -0700 | |
commit | 298241a2d5e33d2d2c7ba22ae8418155fe42a1a6 (patch) | |
tree | 5a3e70a5ae989686bbefeb321ab64b715547cd4d /oni-org | |
parent | b605aa6cd74bb823248ac99d7059bab1d8079807 (diff) | |
download | emacs-config-298241a2d5e33d2d2c7ba22ae8418155fe42a1a6.tar.gz emacs-config-298241a2d5e33d2d2c7ba22ae8418155fe42a1a6.zip |
Enable Java in org-mode source code blocks
Diffstat (limited to 'oni-org')
-rw-r--r-- | oni-org/oni-org.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 5c0445c..5757e9c 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2019.0904.210706 +;; Version: 2019.0916.204933 ;; Package-Requires: (oni-yasnippet org-plus-contrib org-bullets hydra org-wild-notifier) ;; This program is free software; you can redistribute it and/or modify @@ -27,6 +27,7 @@ ;;; Code: (require 'hydra) +(require 'ob) (require 'org) (require 'org-capture) (require 'org-clock) @@ -190,6 +191,8 @@ After running it once remove it from `org-capture-after-finalize-hook'." (add-to-list 'org-modules 'org-habit) (add-to-list 'org-modules 'org-tempo) +(add-to-list 'org-babel-load-languages '(java . t)) + (add-hook 'org-mode-hook 'auto-fill-mode) (unless (eq system-type 'windows-nt) |