From 298241a2d5e33d2d2c7ba22ae8418155fe42a1a6 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 16 Sep 2019 20:49:42 -0700 Subject: Enable Java in org-mode source code blocks --- oni-org/oni-org.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'oni-org') 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 ;; 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) -- cgit v1.2.3-54-g00ecf