changeset 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 1b4b235482c5
children f95ae07fb55a
files .elisp/settings/40.modes.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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))