el/dot-emacs.el: Squish Flymake patterns a bit.
[profile] / el / dot-emacs.el
index 04eb3c0..e48faa1 100644 (file)
@@ -599,9 +599,9 @@ to force interactive compilation."
            #'flymake-get-make-cmdline)))))
 
 (setq flymake-allowed-file-name-masks
-      '(("\\.\\(?:c\\|C\\|cc\\|cpp\\|cxx\\|c\\+\\+\\)\\'"
+      '(("\\.\\(?:[cC]\\|cc\\|cpp\\|cxx\\|c\\+\\+\\)\\'"
         mdw-flymake-make-init)
-       ("\\.\\(?:h\\|H\\|hh\\|hpp\\|hxx\\|h\\+\\+\\)\\'"
+       ("\\.\\(?:[hH]\\|hh\\|hpp\\|hxx\\|h\\+\\+\\)\\'"
         mdw-flymake-master-make-init)
        ("\\.p[lm]" flymake-perl-init)))