el/dot-emacs.el: Squish Flymake patterns a bit.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 3 Aug 2017 11:40:13 +0000 (12:40 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 3 Aug 2017 11:40:13 +0000 (12:40 +0100)
This is actually part of an abortive attempt to flymake assembler code.

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)))