Closed kleewho closed 9 years ago
checkout your branch. I still get (eclim-project-name)
set to nil
in non-eclim-buffers.
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?
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.