Permalink
Browse files

fix .dir-locals.el. delete-trailing-whitespace takes no argument

  • Loading branch information...
1 parent 7fa9079 commit db0b70d3f1f01a520115a33e20755e88cd35d824 @deftsp deftsp committed Apr 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 .dir-locals.el
View
2 .dir-locals.el
@@ -12,7 +12,7 @@
"Write-contents-functions is a buffer-local alternative to before-save-hook"
(add-hook 'write-contents-functions
(lambda ()
- (delete-trailing-whitespace (point-min) (point-max))
+ (delete-trailing-whitespace)
nil))
(require 'whitespace)
"Sometimes the mode needs to be toggled off and on."

0 comments on commit db0b70d

Please sign in to comment.