]> code.delx.au - gnu-emacs-elpa/commitdiff
Fixed eclim project file matching.
authorNikolaj Schumacher <git@nschum.de>
Thu, 7 May 2009 11:46:17 +0000 (13:46 +0200)
committerNikolaj Schumacher <git@nschum.de>
Thu, 7 May 2009 13:13:36 +0000 (15:13 +0200)
company-eclim.el

index 370444e952df50b66904700517aee4d587188280..d17a18612a980b6763ef98cbd1b292841a7f60c7 100644 (file)
@@ -80,7 +80,8 @@ eclim can only complete correctly when the buffer has been saved."
   (if (eq company-eclim--project-dir 'unknown)
       (setq company-eclim--project-dir
             (directory-file-name
-             (company-locate-dominating-file buffer-file-name ".project")))
+             (expand-file-name
+              (company-locate-dominating-file buffer-file-name ".project"))))
     company-eclim--project-dir))
 
 (defun company-eclim--project-name ()