Fix bug in reporting file not found error
Revise Emacs modes