Skip to content

Commit

Permalink
adds javamode hook for compiling on save in malabar-mode and updates …
Browse files Browse the repository at this point in the history
…theme to solarized-tomorrow-eighties
  • Loading branch information
erickj committed Mar 1, 2015
1 parent 698e7f5 commit 162cbae
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions custom.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-enabled-themes (quote (sanityinc-solarized-dark)))
'(custom-safe-themes (quote ("4aee8551b53a43a883cb0b7f3255d6859d766b6c5e14bcb01bed572fcbef4328" "4cf3221feff536e2b3385209e9b9dc4c2e0818a69a1cdb4b522756bcdf4e00a4" default)))
'(custom-enabled-themes (quote (sanityinc-tomorrow-eighties)))
'(custom-safe-themes (quote ("628278136f88aa1a151bb2d6c8a86bf2b7631fbea5f0f76cba2a0079cd910f7d" "4aee8551b53a43a883cb0b7f3255d6859d766b6c5e14bcb01bed572fcbef4328" "4cf3221feff536e2b3385209e9b9dc4c2e0818a69a1cdb4b522756bcdf4e00a4" default)))
'(jtags-extras-import-order-list (quote ("^static[ ]+" "-" "^io.vos\\." "-" "^com\\." "^org\\.(?!junit)" "^net\\." "-" "^java\\." "^javax\\." "-" "^org\\.junit\\.")))
'(malabar-import-post-insert-function (quote jtags-extras-organize-imports))
'(markdown-command "$HOME/bin/rdiscount")
'(session-use-package t nil (session)))
(custom-set-faces
Expand Down
5 changes: 5 additions & 0 deletions init-java.el
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
(add-hook 'before-save-hook
'jtags-extras-organize-imports nil t)))

(add-hook 'malabar-mode-hook
(lambda ()
(add-hook 'after-save-hook
'malabar-compile-file-silently nil t)))

(defun my-custom-java-mode-annoations-setup ()
"Additional setup from `malabar-annotations-setup' for lining
up statements following an annotation with the
Expand Down

0 comments on commit 162cbae

Please sign in to comment.