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>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2019.0904.210706
|
;; Version: 2019.0916.204933
|
||||||
;; Package-Requires: (oni-yasnippet org-plus-contrib org-bullets hydra org-wild-notifier)
|
;; 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
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -27,6 +27,7 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(require 'hydra)
|
(require 'hydra)
|
||||||
|
(require 'ob)
|
||||||
(require 'org)
|
(require 'org)
|
||||||
(require 'org-capture)
|
(require 'org-capture)
|
||||||
(require 'org-clock)
|
(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-habit)
|
||||||
(add-to-list 'org-modules 'org-tempo)
|
(add-to-list 'org-modules 'org-tempo)
|
||||||
|
|
||||||
|
(add-to-list 'org-babel-load-languages '(java . t))
|
||||||
|
|
||||||
(add-hook 'org-mode-hook 'auto-fill-mode)
|
(add-hook 'org-mode-hook 'auto-fill-mode)
|
||||||
|
|
||||||
(unless (eq system-type 'windows-nt)
|
(unless (eq system-type 'windows-nt)
|
||||||
|
|
Loading…
Reference in a new issue