Mercurial > dotfiles
comparison .elisp/settings/50.preferences.el @ 300:276c14c5eec0
whitespace-style: cleanups from slb
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 12 Nov 2012 16:29:06 -0600 |
parents | 79a64ef88a6b |
children | 231aef6069cc |
comparison
equal
deleted
inserted
replaced
299:4a7d426f22cb | 300:276c14c5eec0 |
---|---|
70 (fset 'yes-or-no-p 'y-or-n-p) | 70 (fset 'yes-or-no-p 'y-or-n-p) |
71 ;; Enable narrow-to-region, which is disabled by default | 71 ;; Enable narrow-to-region, which is disabled by default |
72 (put 'narrow-to-region 'disabled nil) | 72 (put 'narrow-to-region 'disabled nil) |
73 | 73 |
74 ;; whitespace detection | 74 ;; whitespace detection |
75 (setq whitespace-style '(trailing tabs lines-tail indentation trailing empty)) | 75 (setq |
76 whitespace-line-column 78 | |
77 whitespace-style '(face | |
78 trailing | |
79 space-after-tab | |
80 space-before-tab | |
81 lines-tail | |
82 indentation | |
83 empty | |
84 tabs) | |
85 ) | |
76 (global-whitespace-mode 1) | 86 (global-whitespace-mode 1) |
77 | 87 |
78 ;; Disable VC plumbing since I don't really use it that much anyway | 88 ;; Disable VC plumbing since I don't really use it that much anyway |
79 (setq vc-handled-backends nil) | 89 (setq vc-handled-backends nil) |
80 | 90 |