Fix race condition

This commit is contained in:
Henrik Lissner 2016-05-25 00:10:26 -04:00
parent 86c9cecc4b
commit 3af24222b3
2 changed files with 5 additions and 6 deletions

View file

@ -1,14 +1,14 @@
;;; module-java.el --- the poster child for carpal tunnel
;;; module-java.el
(after! c-initialization
(def-docset! java-mode ("Java" "Android" "JavaFX")))
(defvar eclim-eclipse-dirs '("/Applications/eclipse"))
(defvar eclim-executable "/Applications/eclipse/eclim")
(use-package eclim
:functions (eclim--project-dir eclim--project-name)
:commands (eclim-mode global-eclim-mode)
:preface
(setq eclim-eclipse-dirs '("/Applications/eclipse")
eclim-executable "/Applications/eclipse/eclim")
:when (file-exists-p eclim-executable)
:init (add-hook 'java-mode-hook 'eclim-mode)
:config