Subject: bug#13817: 24.3.50; Disabling whitespace-mode that was enabled in sgml-mode-hook breaks font-lock

From: Stefan Monnier <[email-masked]>
Date: Sun, 17 Mar 2013 18:30:07 -0400

> On the surface, the reason for this is that when whitespace-mode is being
> turned on in the hook, font-lock-keywords is still nil, and so nil is
> saved in whitespace-font-lock-keywords.

whitespace.el should probably use font-lock-remove-keywords instead.

        Stefan