update
[emacs-init.git] / setup / zzz_finish.el
index 7cdb7ca..9f65e4b 100644 (file)
 (defadvice display-buffer-use-some-window (around no-resize activate)
   (flet ((window-resize (&rest args) nil))
     ad-do-it))
+
+; After everybody has had a chance to mess with flymake, remove the flymake modes which just don't work
+(setq flymake-allowed-file-name-masks
+      (loop for elt in flymake-allowed-file-name-masks
+            if (not (member (car elt) '("\\.xml\\'" "\\.html?\\'" "\\.cs\\'" "\\.p[ml]\\'"
+                                        "\\.h\\'" "\\.\\(?:c\\(?:pp\\|xx\\|\\+\\+\\)?\\|CC\\)\\'")))
+            collect elt))