senny / emacs-eclim

This project brings some of the great eclipse features to emacs developers. It is based on the eclim project, which provides eclipse features for vim.
http://www.emacswiki.org/emacs/EmacsEclim
587 stars 102 forks source link

Use function eclim-project-name everywhere #235

Closed kleewho closed 9 years ago

kleewho commented 9 years ago

Variable with the same name wasn't set in many situations. Use of function will fix this cause. Also I removed a little bit misleading usage and setting value to eclim-project-name (the var) in eclim-project. Reading straight from current line should be used instead when project name is needed.

gopar commented 9 years ago

checkout your branch. I still get (eclim-project-name) set to nil in non-eclim-buffers.

kleewho commented 9 years ago

The only time I could imagine that you can get (eclim-project-name) is set to nil is when you didn't loaded eclim yet. By the way what exactly do you expect to see as a result for non-eclim buffer?