Mercurial > dotfiles
diff .elisp/settings/40.modes.el @ 341:0a593d2c0595
diff-mode: don't clean whitespace
Useful for when I'm touching up patches before applying them.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 01 Sep 2014 13:02:23 -0400 |
parents | 6a773ec78813 |
children | 95621f473f7e |
line wrap: on
line diff
--- a/.elisp/settings/40.modes.el +++ b/.elisp/settings/40.modes.el @@ -26,6 +26,7 @@ point." (set-variable 'af-cleanup-whitespace nil)) (add-hook 'rst-mode-hook 'af-no-clean-whitespace) (add-hook 'makefile-mode-hook 'af-no-clean-whitespace) +(add-hook 'diff-mode-hook 'af-no-clean-whitespace) (autoload 'js2-mode "js2" nil t) (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))