Enable Java in org-mode source code blocks
This commit is contained in:
parent
b605aa6cd7
commit
298241a2d5
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue