el/dot-emacs.el: Delay whitespace-mode setting.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 14 Aug 2015 17:19:00 +0000 (18:19 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 14 Aug 2015 17:19:00 +0000 (18:19 +0100)
commit2e7c6a86207f2b243346d2c0f2e04bdc7a977176
treef0457eb16b1c58660c7aae453603adff9857a18b
parent3c40e4528968844b262be2a212b23205c0646e26
el/dot-emacs.el: Delay whitespace-mode setting.

Turn on whitespace-mode /after/ local variables have been applied, so
that it can take into account settings like `indent-tabs-mode' acquired
from file- or directory-local variables.

There used to be a halfhearted attempt at this, with the
`mdw-post-config-mode-hook' function called explicitly by the various
mode hooks.  This is now replaced by a standard hook on
`hack-local-variables-hook' activated by `mdw-misc-mode-config'.
el/dot-emacs.el