Jesús bb80ec4def
add-hook is a function, so all of its args are evaluated before it does its thing (using their values).
The value of the sexp you passed as its second arg is the symbol delete-trailing-whitespace,
because the arg to when is a non-nil list (because you quoted it). So the when condition is always true.

And you never invoke function delete-trailing-whitespace; you just return the symbol that names that function.
2018-11-08 13:19:42 -05:00
..
2018-07-29 20:12:28 -05:00
2018-10-26 20:04:23 -05:00
2018-10-26 20:04:23 -05:00
2018-11-07 09:52:10 -05:00
2018-10-26 20:04:23 -05:00
2018-10-17 22:14:53 -05:00
2018-10-26 20:04:23 -05:00
2018-11-07 10:14:54 -05:00
2018-10-26 20:04:23 -05:00