auto-mode: Minor mode-covered-by-auto-mode-p refactoring.
auto-mode: Minor mode-covered-by-auto-mode-p refactoring.

Additionally, there's a docstring added to it to not forget what it
does.

jmercouris/NeXT,jmercouris/NeXT