(append (list '("\\.cfg$" . nagios-mode))
auto-mode-alist))
-which works great so long as you don't work with any other *.cfg files
-that have a different syntax.
+which works great so long as you don't edit any other *.cfg files that
+have a different syntax.
== How it works ==