update
[emacs-init.git] / setup / zzz_finish.el
1 (load custom-file)
2
3 ; Don't ask why we need this ...
4
5 ; I just don't know where why this is enabled by default in my config ... can't find it
6 (setq debug-on-error nil)
7
8 ; This load consistently fails the first time round
9 (load-library "python")
10
11 ; 'lines-tail' is valid but missing from customize :-/
12 (setq whitespace-style
13       (nconc (delete 'lines (delete 'lines-tail whitespace-style))
14              '(lines-tail)))
15
16 ; For some unfathomable reason display-buffer always want's to resize my windows ...
17 (defadvice display-buffer-use-some-window (around no-resize activate)
18   (flet ((window-resize (&rest args) nil))
19     ad-do-it))
20
21 ; After everybody has had a chance to mess with flymake, remove the flymake modes which just don't work
22 (setq flymake-allowed-file-name-masks
23       (loop for elt in flymake-allowed-file-name-masks
24             if (not (member (car elt) '("\\.xml\\'" "\\.html?\\'" "\\.cs\\'" "\\.p[ml]\\'"
25                                         "\\.h\\'" "\\.\\(?:c\\(?:pp\\|xx\\|\\+\\+\\)?\\|CC\\)\\'")))
26             collect elt))