Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use EOS instead of EOL for auto mode regexp
This prevent matching filename like "xxxx.pom\nxxxx". A corner case which satisfies POSIX filename standard but weird for daily use. I found many regexp in auto-mode-alist are ended with \\' but typescript-mode use $. So curiosity drives me to find the answer. You can create a file which name contains a linebreak by pressing C-j in find-file prompt.
- Loading branch information