update
[emacs-init.git] / setup / zzz_finish.el
index a19eac3..9f65e4b 100644 (file)
@@ -1,3 +1,5 @@
+(load custom-file)
+
 ; Don't ask why we need this ...
 
 ; I just don't know where why this is enabled by default in my config ... can't find it
 (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))