diff options
author | Jesús <heckyel@hyperbola.info> | 2018-11-08 13:19:42 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-11-08 13:19:42 -0500 |
commit | bb80ec4def3ec8f0930f1d9f23f5bdf427ca72ef (patch) | |
tree | 649c561a5f1cf9af3fca76a8fcd0b6004ae26f5a /lisp/init-mmm-mode.el | |
parent | cf4c6d84fa9478fb69277581cf5245708827ae56 (diff) | |
download | emacs-personal-bb80ec4def3ec8f0930f1d9f23f5bdf427ca72ef.tar.lz emacs-personal-bb80ec4def3ec8f0930f1d9f23f5bdf427ca72ef.tar.xz emacs-personal-bb80ec4def3ec8f0930f1d9f23f5bdf427ca72ef.zip |
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.
Diffstat (limited to 'lisp/init-mmm-mode.el')
0 files changed, 0 insertions, 0 deletions