RefactoringTools / HaRe

The Haskell Refactoring Tool
http://www.cs.kent.ac.uk/projects/refactor-fp/
Other
139 stars 32 forks source link

Fix check if buffer belongs to a file, fixes #9 #14

Closed cocreature closed 9 years ago

cocreature commented 9 years ago

If the buffer doesn't belong to a file it also doesn't have a filename so this check should work (other modes use this too). In particular directories don't have filenames.